private EndGetConnection ( IAsyncResult result ) : void | ||
result | IAsyncResult | |
return | void |
internal void EndGetConnection(IAsyncResult result) { GlobalLog.Enter("SmtpTransport#" + ValidationHelper.HashString(this) + "::EndGetConnection"); try { connection.EndGetConnection(result); } finally { GlobalLog.Leave("SmtpTransport#" + ValidationHelper.HashString(this) + "::EndConnect"); } }
internal void EndGetConnection(IAsyncResult result) { if (NetEventSource.IsEnabled) { NetEventSource.Enter(this); } try { _connection.EndGetConnection(result); } finally { if (NetEventSource.IsEnabled) { NetEventSource.Exit(this); } } }
internal void EndGetConnection(IAsyncResult result) { if (GlobalLog.IsEnabled) { GlobalLog.Enter("SmtpTransport#" + LoggingHash.HashString(this) + "::EndGetConnection"); } try { _connection.EndGetConnection(result); } finally { if (GlobalLog.IsEnabled) { GlobalLog.Leave("SmtpTransport#" + LoggingHash.HashString(this) + "::EndConnect"); } } }
internal static void EndGetConnection(IAsyncResult result) { SmtpConnection.EndGetConnection(result); }