Initiates the asynchronous execution of the AssumeRole operation.
Namespace: Amazon.SecurityToken
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public virtual IAsyncResult BeginAssumeRole( AssumeRoleRequest assumeRoleRequest, AsyncCallback callback, Object state )
Parameters
- assumeRoleRequest
-
Type: Amazon.SecurityToken.Model.AssumeRoleRequest
Container for the necessary parameters to execute the AssumeRole 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 EndAssumeRole 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 EndAssumeRole operation.
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5