Initiates the asynchronous execution of the GetSessionToken operation.
Namespace: Amazon.SecurityToken
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public virtual IAsyncResult BeginGetSessionToken( GetSessionTokenRequest getSessionTokenRequest, AsyncCallback callback, Object state )
Parameters
- getSessionTokenRequest
-
Type: Amazon.SecurityToken.Model.GetSessionTokenRequest
Container for the necessary parameters to execute the GetSessionToken operation on AmazonSecurityTokenService.
- callback
-
Type: System.AsyncCallback
An AsyncCallback delegate that is invoked when the operation completes.
- state
-
Type: System.Object
A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback procedure using the AsyncState property.
Return Value
Type: System.IAsyncResult
An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSessionToken operation.
Type: System.IAsyncResult
An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSessionToken operation.
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5