CompletePublish() public method

Schedules a thread to complete the request.
public CompletePublish ( object calldata ) : void
calldata object The data that is used to complete the operation
return void
コード例 #1
0
            /// <summary>
            /// Sets the event that wakes up the publish thread.
            /// </summary>
            public void Set()
            {
                try {
                    if (Operation != null)
                    {
                        Operation.CompletePublish(this);
                        return;
                    }

                    Event.Set();
                } catch (Exception e) {
                    Utils.Trace(e, "Publish request no longer available.");
                }
            }