Amazon.CloudWatchEvents.AmazonCloudWatchEventsClient.BeginPutRule C# (CSharp) Method

BeginPutRule() public method

Initiates the asynchronous execution of the PutRule operation.
public BeginPutRule ( PutRuleRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.CloudWatchEvents.Model.PutRuleRequest Container for the necessary parameters to execute the PutRule operation on AmazonCloudWatchEventsClient.
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 BeginPutRule(PutRuleRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new PutRuleRequestMarshaller();
            var unmarshaller = PutRuleResponseUnmarshaller.Instance;

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