Amazon.SimpleEmail.AmazonSimpleEmailServiceClient.SetIdentityHeadersInNotificationsEnabledAsync C# (CSharp) Method

SetIdentityHeadersInNotificationsEnabledAsync() public method

Initiates the asynchronous execution of the SetIdentityHeadersInNotificationsEnabled operation.
public SetIdentityHeadersInNotificationsEnabledAsync ( SetIdentityHeadersInNotificationsEnabledRequest request, System cancellationToken = default(CancellationToken) ) : Task
request SetIdentityHeadersInNotificationsEnabledRequest Container for the necessary parameters to execute the SetIdentityHeadersInNotificationsEnabled operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<SetIdentityHeadersInNotificationsEnabledResponse> SetIdentityHeadersInNotificationsEnabledAsync(SetIdentityHeadersInNotificationsEnabledRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new SetIdentityHeadersInNotificationsEnabledRequestMarshaller();
            var unmarshaller = SetIdentityHeadersInNotificationsEnabledResponseUnmarshaller.Instance;

            return InvokeAsync<SetIdentityHeadersInNotificationsEnabledRequest,SetIdentityHeadersInNotificationsEnabledResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonSimpleEmailServiceClient::SetIdentityHeadersInNotificationsEnabledAsync ( SetIdentityHeadersInNotificationsEnabledRequest request, SetIdentityHeadersInNotificationsEnabledResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonSimpleEmailServiceClient