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

BeginRebootWorkspaces() public method

Initiates the asynchronous execution of the RebootWorkspaces operation.
public BeginRebootWorkspaces ( RebootWorkspacesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.WorkSpaces.Model.RebootWorkspacesRequest Container for the necessary parameters to execute the RebootWorkspaces 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 BeginRebootWorkspaces(RebootWorkspacesRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new RebootWorkspacesRequestMarshaller();
            var unmarshaller = RebootWorkspacesResponseUnmarshaller.Instance;

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