protected override void OnClose(TimeSpan timeout) { VolatileTopicClient.CloseAsyncResult closeAsyncResult = new VolatileTopicClient.CloseAsyncResult(this, false, timeout, null, null); closeAsyncResult.RunSynchronously(); }
protected override void OnAbort() { VolatileTopicClient.CloseAsyncResult closeAsyncResult = new VolatileTopicClient.CloseAsyncResult(this, true, TimeSpan.MaxValue, null, null); closeAsyncResult.RunSynchronously(); }