public ListIdentityPoolsAsync ( ListIdentityPoolsRequest request, ListIdentityPoolsResponse>.AmazonServiceCallback |
||
request | ListIdentityPoolsRequest | Container for the necessary parameters to execute the ListIdentityPools operation on AmazonCognitoIdentityClient. |
callback | ListIdentityPoolsResponse>.AmazonServiceCallback | An Action delegate that is invoked when the operation completes. |
options | 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. |
return | void |
public void ListIdentityPoolsAsync(ListIdentityPoolsRequest request, AmazonServiceCallback<ListIdentityPoolsRequest, ListIdentityPoolsResponse> callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var marshaller = new ListIdentityPoolsRequestMarshaller();
var unmarshaller = ListIdentityPoolsResponseUnmarshaller.Instance;
Action<AmazonWebServiceRequest, AmazonWebServiceResponse, Exception, AsyncOptions> callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult<ListIdentityPoolsRequest,ListIdentityPoolsResponse> responseObject
= new AmazonServiceResult<ListIdentityPoolsRequest,ListIdentityPoolsResponse>((ListIdentityPoolsRequest)req, (ListIdentityPoolsResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke<ListIdentityPoolsRequest>(request, marshaller, unmarshaller, options, callbackHelper);
}
AmazonCognitoIdentityClient::ListIdentityPoolsAsync ( ListIdentityPoolsRequest request, System cancellationToken = default(CancellationToken) ) : Task |