public void EndClose(IAsyncResult result) { if (result is AlreadyClosedAsyncResult) { CompletedAsyncResult.End(result); } else { CloseAsyncResult.End(result); } }
public void OnEndOuterListenerClose(IAsyncResult result) { if (result is CompletedAsyncResult) { CompletedAsyncResult.End(result); } else { CloseAsyncResult <TInnerChannel, TInnerItem> .End(result); } }
public void EndClose(IAsyncResult result) { if (result is CompletedAsyncResult) { CompletedAsyncResult.End(result); } else { AmqpTrace.Provider.AmqpLogOperationVerbose(this, TraceOperation.Execute, "EndClose"); CloseAsyncResult.End(result); } }
protected override void OnEndClose(IAsyncResult result) { try { CloseAsyncResult.End(result); this.TraceBaseAddresses(); ThreadTrace.StopTracing(); } catch (TimeoutException exception) { if (DiagnosticUtility.ShouldTraceWarning) { TraceUtility.TraceEvent(TraceEventType.Warning, 0x8002e, System.ServiceModel.SR.GetString("TraceCodeServiceHostTimeoutOnClose"), this, exception); } base.Abort(); } }
public void EndClose(IAsyncResult result) { try { if (result is CompletedAsyncResult) { CompletedAsyncResult.End(result); } else { CloseAsyncResult.End(result); } } finally { this.NotifyClosed(); } }
protected override void OnEndClose(IAsyncResult result) { CloseAsyncResult <TChannel> .End(result); }
protected virtual void OnClose(TimeSpan timeout) { CloseAsyncResult.End(new CloseAsyncResult(this, timeout, null, null)); }
public void EndClose(IAsyncResult result) { CloseAsyncResult.End(result); }
protected override void OnEndClose(IAsyncResult result) { CloseAsyncResult <QueueItemType> .End(result); }
internal override void EndClose(IAsyncResult result) { CloseAsyncResult.End(result); }