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