public ListMFADevicesAsync ( ListMFADevicesRequest request, ListMFADevicesResponse>.AmazonServiceCallback |
||
request | ListMFADevicesRequest | Container for the necessary parameters to execute the ListMFADevices operation on AmazonIdentityManagementServiceClient. |
callback | ListMFADevicesResponse>.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 ListMFADevicesAsync(ListMFADevicesRequest request, AmazonServiceCallback<ListMFADevicesRequest, ListMFADevicesResponse> callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var marshaller = new ListMFADevicesRequestMarshaller();
var unmarshaller = ListMFADevicesResponseUnmarshaller.Instance;
Action<AmazonWebServiceRequest, AmazonWebServiceResponse, Exception, AsyncOptions> callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult<ListMFADevicesRequest,ListMFADevicesResponse> responseObject
= new AmazonServiceResult<ListMFADevicesRequest,ListMFADevicesResponse>((ListMFADevicesRequest)req, (ListMFADevicesResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke<ListMFADevicesRequest>(request, marshaller, unmarshaller, options, callbackHelper);
}
AmazonIdentityManagementServiceClient::ListMFADevicesAsync ( ListMFADevicesRequest request, System cancellationToken = default(CancellationToken) ) : Task |
|
AmazonIdentityManagementServiceClient::ListMFADevicesAsync ( System cancellationToken = default(CancellationToken) ) : Task |
|
AmazonIdentityManagementServiceClient::ListMFADevicesAsync ( ListMFADevicesResponse>.AmazonServiceCallback |