Amazon.ECS.AmazonECSClient.BeginRegisterTaskDefinition C# (CSharp) Method

BeginRegisterTaskDefinition() public method

Initiates the asynchronous execution of the RegisterTaskDefinition operation.
public BeginRegisterTaskDefinition ( RegisterTaskDefinitionRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECS.Model.RegisterTaskDefinitionRequest Container for the necessary parameters to execute the RegisterTaskDefinition operation on AmazonECSClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object 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 IAsyncResult
        public IAsyncResult BeginRegisterTaskDefinition(RegisterTaskDefinitionRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new RegisterTaskDefinitionRequestMarshaller();
            var unmarshaller = RegisterTaskDefinitionResponseUnmarshaller.Instance;

            return BeginInvoke<RegisterTaskDefinitionRequest>(request, marshaller, unmarshaller,
                callback, state);
        }
AmazonECSClient