Amazon.Kinesis.AmazonKinesisClient.RemoveTagsFromStreamAsync C# (CSharp) Метод

RemoveTagsFromStreamAsync() публичный Метод

Initiates the asynchronous execution of the RemoveTagsFromStream operation.
public RemoveTagsFromStreamAsync ( RemoveTagsFromStreamRequest request, RemoveTagsFromStreamResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
request Amazon.Kinesis.Model.RemoveTagsFromStreamRequest Container for the necessary parameters to execute the RemoveTagsFromStream operation on AmazonKinesisClient.
callback RemoveTagsFromStreamResponse>.AmazonServiceCallback An Action delegate that is invoked when the operation completes.
options Amazon.Runtime.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.
Результат void
        public void RemoveTagsFromStreamAsync(RemoveTagsFromStreamRequest request, AmazonServiceCallback<RemoveTagsFromStreamRequest, RemoveTagsFromStreamResponse> callback, AsyncOptions options = null)
        {
            options = options == null?new AsyncOptions():options;
            var marshaller = new RemoveTagsFromStreamRequestMarshaller();
            var unmarshaller = RemoveTagsFromStreamResponseUnmarshaller.Instance;
            Action<AmazonWebServiceRequest, AmazonWebServiceResponse, Exception, AsyncOptions> callbackHelper = null;
            if(callback !=null )
                callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { 
                    AmazonServiceResult<RemoveTagsFromStreamRequest,RemoveTagsFromStreamResponse> responseObject 
                            = new AmazonServiceResult<RemoveTagsFromStreamRequest,RemoveTagsFromStreamResponse>((RemoveTagsFromStreamRequest)req, (RemoveTagsFromStreamResponse)res, ex , ao.State);    
                        callback(responseObject); 
                };
            BeginInvoke<RemoveTagsFromStreamRequest>(request, marshaller, unmarshaller, options, callbackHelper);
        }

Same methods

AmazonKinesisClient::RemoveTagsFromStreamAsync ( RemoveTagsFromStreamRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonKinesisClient