Amazon.AppStream.AmazonAppStreamClient.BeginExpireSession C# (CSharp) Метод

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

Initiates the asynchronous execution of the ExpireSession operation.
public BeginExpireSession ( ExpireSessionRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.AppStream.Model.ExpireSessionRequest Container for the necessary parameters to execute the ExpireSession operation on AmazonAppStreamClient.
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 BeginExpireSession(ExpireSessionRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new ExpireSessionRequestMarshaller();
            var unmarshaller = ExpireSessionResponseUnmarshaller.Instance;

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