/// <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.");
}
}