Amazon.EC2.AmazonEC2Client.BeginDescribeSecurityGroups C# (CSharp) Méthode

BeginDescribeSecurityGroups() public méthode

Initiates the asynchronous execution of the DescribeSecurityGroups operation.
public BeginDescribeSecurityGroups ( DescribeSecurityGroupsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.EC2.Model.DescribeSecurityGroupsRequest Container for the necessary parameters to execute the DescribeSecurityGroups operation on AmazonEC2Client.
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.
Résultat IAsyncResult
        public IAsyncResult BeginDescribeSecurityGroups(DescribeSecurityGroupsRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new DescribeSecurityGroupsRequestMarshaller();
            var unmarshaller = DescribeSecurityGroupsResponseUnmarshaller.Instance;

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