Click or drag to resize
IWebFarmServerTaskInfoProviderGetAsync Method
Asynchronously gets an instance of the WebFarmServerTaskInfo binding structure.

Namespace: CMS.WebFarmSync
Assembly: CMS.WebFarmSync (in CMS.WebFarmSync.dll) Version: 13.0.131
Syntax
C#
Task<WebFarmServerTaskInfo> GetAsync(
	int webFarmServerId,
	int webFarmTaskId,
	Nullable<CancellationToken> cancellationToken = null
)

Parameters

webFarmServerId
Type: SystemInt32
Web farm server ID.
webFarmTaskId
Type: SystemInt32
Web farm task ID.
cancellationToken (Optional)
Type: SystemNullableCancellationToken
The cancellation instruction.

Return Value

Type: TaskWebFarmServerTaskInfo
Returns a task returning either an instance of WebFarmServerTaskInfo corresponding to given identifiers or null.
See Also