Dela via


FabricRuntime.GetCodePackageActivatorAsync Method

Definition

This is for internal use only.

public static System.Threading.Tasks.Task<System.Fabric.CodePackageActivator> GetCodePackageActivatorAsync (TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
static member GetCodePackageActivatorAsync : TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.CodePackageActivator>
Public Shared Function GetCodePackageActivatorAsync (timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of CodePackageActivator)

Parameters

timeout
TimeSpan

The maximum amount of time Service Fabric will allow this operation to continue before returning a TimeoutException

cancellationToken
CancellationToken

The CancellationToken that the operation is observing. It can be used to send a notification that the operation should be canceled. Note that cancellation is advisory and that the operation may still be completed even if it is canceled.

Returns

The task representing the asynchronous operation.

Applies to