Amazon.IdentityManagement.AmazonIdentityManagementServiceClient.ListSAMLProvidersAsync C# (CSharp) Méthode

ListSAMLProvidersAsync() public méthode

Initiates the asynchronous execution of the ListSAMLProviders operation.
public ListSAMLProvidersAsync ( ListSAMLProvidersRequest request, ListSAMLProvidersResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
request ListSAMLProvidersRequest Container for the necessary parameters to execute the ListSAMLProviders operation on AmazonIdentityManagementServiceClient.
callback ListSAMLProvidersResponse>.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.
Résultat void
        public void ListSAMLProvidersAsync(ListSAMLProvidersRequest request, AmazonServiceCallback<ListSAMLProvidersRequest, ListSAMLProvidersResponse> callback, AsyncOptions options = null)
        {
            options = options == null?new AsyncOptions():options;
            var marshaller = new ListSAMLProvidersRequestMarshaller();
            var unmarshaller = ListSAMLProvidersResponseUnmarshaller.Instance;
            Action<AmazonWebServiceRequest, AmazonWebServiceResponse, Exception, AsyncOptions> callbackHelper = null;
            if(callback !=null )
                callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { 
                    AmazonServiceResult<ListSAMLProvidersRequest,ListSAMLProvidersResponse> responseObject 
                            = new AmazonServiceResult<ListSAMLProvidersRequest,ListSAMLProvidersResponse>((ListSAMLProvidersRequest)req, (ListSAMLProvidersResponse)res, ex , ao.State);    
                        callback(responseObject); 
                };
            BeginInvoke<ListSAMLProvidersRequest>(request, marshaller, unmarshaller, options, callbackHelper);
        }

Same methods

AmazonIdentityManagementServiceClient::ListSAMLProvidersAsync ( ListSAMLProvidersRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonIdentityManagementServiceClient::ListSAMLProvidersAsync ( System cancellationToken = default(CancellationToken) ) : Task
AmazonIdentityManagementServiceClient::ListSAMLProvidersAsync ( ListSAMLProvidersResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonIdentityManagementServiceClient