Exemple #1
0
        internal DeleteTrustResponse DeleteTrust(DeleteTrustRequest request)
        {
            var marshaller   = new DeleteTrustRequestMarshaller();
            var unmarshaller = DeleteTrustResponseUnmarshaller.Instance;

            return(Invoke <DeleteTrustRequest, DeleteTrustResponse>(request, marshaller, unmarshaller));
        }
Exemple #2
0
        /// <summary>
        /// Initiates the asynchronous execution of the DeleteTrust operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the DeleteTrust operation.</param>
        /// <param name="cancellationToken">
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// </param>
        /// <returns>The task object representing the asynchronous operation.</returns>
        public Task <DeleteTrustResponse> DeleteTrustAsync(DeleteTrustRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = new DeleteTrustRequestMarshaller();
            var unmarshaller = DeleteTrustResponseUnmarshaller.Instance;

            return(InvokeAsync <DeleteTrustRequest, DeleteTrustResponse>(request, marshaller,
                                                                         unmarshaller, cancellationToken));
        }