Discuss this help topic in MsgConnect Forum

Filter: C++  Pascal  C#  VB.NET  Java  Java ME  ActiveX  DLL 



MCBaseTransport.Shutdown

BaseTransport     See also    


Turns off the transport, optionally discarding all unsent messages.

Declaration

[C++]
    void Shutdown(bool DiscardUnsentMessages);

[Pascal]
    procedure Shutdown(DiscardUnsentMessages : boolean);

[ActiveX]
    not implemented;

[C#]
    public void Shutdown(bool DiscardUnsentMessages);

[VB.NET]
    Public Sub Shutdown(DiscardUnsentMessages As Boolean)

[Java]
    public void shutdown(bool discardUnsentMessages);

[Java ME]
    public void shutdown(bool discardUnsentMessages);

[DLL]
    void MCBaseTransportShutdown(HMCBaseTransport h, bool DiscardUnsentMessages);

Parameters

  • DiscardUnsentMessages - specifies what to do with unsent messages.
  • [DLL]h - handle to the InetTransport object that was returned by Create method

Description

    Use this method to turn off the transport (set Active property to false) and optionally discard all messages, that are in the transport's outgoing queues. Discarding the messages is faster than returning them as failed, so this method can be used when the application is shut down.

See also:     Active    

 

Discuss this help topic in MsgConnect Forum