Abort() публичный Метод

API-side invocation of connection abort.
public Abort ( ) : void
Результат void
Пример #1
0
 ///<summary>Called from CheckAutoClose, in a separate thread,
 ///when we decide to close the connection.</summary>
 public void AutoCloseConnection()
 {
     m_connection.Abort(CommonFraming.Constants.ReplySuccess, "AutoClose", ShutdownInitiator.Library, Timeout.Infinite);
 }
Пример #2
0
 ///<summary>Called from CheckAutoClose, in a separate thread,
 ///when we decide to close the connection.</summary>
 public void AutoCloseConnection()
 {
     m_connection.Abort(200, "AutoClose", ShutdownInitiator.Library, Timeout.Infinite);
 }