public RemovePermissionAsync ( RemovePermissionRequest request, RemovePermissionResponse>.AmazonServiceCallback |
||
request | RemovePermissionRequest | Container for the necessary parameters to execute the RemovePermission operation on AmazonSimpleNotificationServiceClient. |
callback | RemovePermissionResponse>.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 RemovePermissionAsync(RemovePermissionRequest request, AmazonServiceCallback<RemovePermissionRequest, RemovePermissionResponse> callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var marshaller = new RemovePermissionRequestMarshaller();
var unmarshaller = RemovePermissionResponseUnmarshaller.Instance;
Action<AmazonWebServiceRequest, AmazonWebServiceResponse, Exception, AsyncOptions> callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult<RemovePermissionRequest,RemovePermissionResponse> responseObject
= new AmazonServiceResult<RemovePermissionRequest,RemovePermissionResponse>((RemovePermissionRequest)req, (RemovePermissionResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke<RemovePermissionRequest>(request, marshaller, unmarshaller, options, callbackHelper);
}
AmazonSimpleNotificationServiceClient::RemovePermissionAsync ( RemovePermissionRequest request, System cancellationToken = default(CancellationToken) ) : Task |
|
AmazonSimpleNotificationServiceClient::RemovePermissionAsync ( string topicArn, string label, System cancellationToken = default(CancellationToken) ) : Task |
|
AmazonSimpleNotificationServiceClient::RemovePermissionAsync ( string topicArn, string label, RemovePermissionResponse>.AmazonServiceCallback |