EldoS
MsgConnect home / Documentation / MCBaseTransport.Shutdown method
Navigation
Web site
Support
Table Of Contents

Filter: C++  Pascal  ActiveX  C#  VB.NET  Java SE  Java ME  Palm  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);

[Palm]
    not implemented;

[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    

 
Contact Us | Subscribe | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2005, EldoS Corporation