Click or drag to resize
WebFarmServerTaskInfoProviderGetAsync Method (Int32, Int32, NullableCancellationToken)
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#
public virtual 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.

Implements

IWebFarmServerTaskInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)
See Also