Share via


WindowsTokenProvider.OnBeginGetToken Method

Definition

Retrieves a token when the provider service was started.

protected override IAsyncResult OnBeginGetToken (string appliesTo, string action, TimeSpan timeout, AsyncCallback callback, object state);
override this.OnBeginGetToken : string * string * TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected Overrides Function OnBeginGetToken (appliesTo As String, action As String, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

appliesTo
String

The object where the token will be applied.

action
String

The action.

timeout
TimeSpan

The duration of the operation.

callback
AsyncCallback

The argument fir the provider.

state
Object

The state of the provider.

Returns

The result of the operation.

Applies to