Amazon.CognitoIdentity.AmazonCognitoIdentityClient.DescribeIdentityPoolAsync C# (CSharp) Метод

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

Initiates the asynchronous execution of the DescribeIdentityPool operation.
public DescribeIdentityPoolAsync ( DescribeIdentityPoolRequest request, DescribeIdentityPoolResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
request Amazon.CognitoIdentity.Model.DescribeIdentityPoolRequest Container for the necessary parameters to execute the DescribeIdentityPool operation on AmazonCognitoIdentityClient.
callback DescribeIdentityPoolResponse>.AmazonServiceCallback An Action delegate that is invoked when the operation completes.
options Amazon.Runtime.AsyncOptions A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат void
        public void DescribeIdentityPoolAsync(DescribeIdentityPoolRequest request, AmazonServiceCallback<DescribeIdentityPoolRequest, DescribeIdentityPoolResponse> callback, AsyncOptions options = null)
        {
            options = options == null?new AsyncOptions():options;
            var marshaller = new DescribeIdentityPoolRequestMarshaller();
            var unmarshaller = DescribeIdentityPoolResponseUnmarshaller.Instance;
            Action<AmazonWebServiceRequest, AmazonWebServiceResponse, Exception, AsyncOptions> callbackHelper = null;
            if(callback !=null )
                callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { 
                    AmazonServiceResult<DescribeIdentityPoolRequest,DescribeIdentityPoolResponse> responseObject 
                            = new AmazonServiceResult<DescribeIdentityPoolRequest,DescribeIdentityPoolResponse>((DescribeIdentityPoolRequest)req, (DescribeIdentityPoolResponse)res, ex , ao.State);    
                        callback(responseObject); 
                };
            BeginInvoke<DescribeIdentityPoolRequest>(request, marshaller, unmarshaller, options, callbackHelper);
        }

Same methods

AmazonCognitoIdentityClient::DescribeIdentityPoolAsync ( DescribeIdentityPoolRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonCognitoIdentityClient::DescribeIdentityPoolAsync ( string identityPoolId, System cancellationToken = default(CancellationToken) ) : Task
AmazonCognitoIdentityClient::DescribeIdentityPoolAsync ( string identityPoolId, DescribeIdentityPoolResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonCognitoIdentityClient