Amazon.WorkSpaces.AmazonWorkSpacesClient.BeginDescribeWorkspaces C# (CSharp) Method

BeginDescribeWorkspaces() public method

Initiates the asynchronous execution of the DescribeWorkspaces operation.
public BeginDescribeWorkspaces ( DescribeWorkspacesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.WorkSpaces.Model.DescribeWorkspacesRequest Container for the necessary parameters to execute the DescribeWorkspaces operation on AmazonWorkSpacesClient.
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.
return IAsyncResult
        public IAsyncResult BeginDescribeWorkspaces(DescribeWorkspacesRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new DescribeWorkspacesRequestMarshaller();
            var unmarshaller = DescribeWorkspacesResponseUnmarshaller.Instance;

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