Amazon.Lightsail.AmazonLightsailClient.BeginGetInstancePortStates C# (CSharp) 메소드

BeginGetInstancePortStates() 공개 메소드

Initiates the asynchronous execution of the GetInstancePortStates operation.
public BeginGetInstancePortStates ( GetInstancePortStatesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.Lightsail.Model.GetInstancePortStatesRequest Container for the necessary parameters to execute the GetInstancePortStates operation on AmazonLightsailClient.
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 BeginGetInstancePortStates(GetInstancePortStatesRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new GetInstancePortStatesRequestMarshaller();
            var unmarshaller = GetInstancePortStatesResponseUnmarshaller.Instance;

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