Amazon.SecurityToken.AmazonSecurityTokenServiceClient.BeginGetSessionToken C# (CSharp) Метод

BeginGetSessionToken() публичный Метод

Initiates the asynchronous execution of the GetSessionToken operation.
public BeginGetSessionToken ( GetSessionTokenRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.SecurityToken.Model.GetSessionTokenRequest Container for the necessary parameters to execute the GetSessionToken operation on AmazonSecurityTokenServiceClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state 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.
Результат IAsyncResult
        public IAsyncResult BeginGetSessionToken(GetSessionTokenRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new GetSessionTokenRequestMarshaller();
            var unmarshaller = GetSessionTokenResponseUnmarshaller.Instance;

            return BeginInvoke<GetSessionTokenRequest>(request, marshaller, unmarshaller,
                callback, state);
        }