Discuss this help topic in MsgConnect Forum

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



InetTransport.FailOnInactive

InetTransport     See also    


Specifies whether undelivered messages are returned as failed when the transport is deactivated.

Declaration

[C++]
    void setFailOnInactive(bool Value);
    bool getFailOnInactive(void);

[Pascal]
    property FailOnInactive : boolean;

[VB6]
    Property FailOnInactive As Boolean

[ActiveX]
    HRESULT _stdcall FailOnInactive([in] VARIANT_BOOL Value );
    HRESULT _stdcall FailOnInactive([out, retval] VARIANT_BOOL * Value );

[C#]
    public bool FailOnInactive;

[VB.NET]
    Public Property FailOnInactive As Boolean

[Java]
    public void setFailOnInactive(boolean value);
    public boolean getFailOnInactive();

[Java ME]
    public void setFailOnInactive(boolean value);
    public boolean getFailOnInactive();

[DLL]
    void __stdcall MCInetTransportSetFailOnInactive(HMCInetTransport h, bool value);
    bool __stdcall MCInetTransportGetFailOnInactive(HMCInetTransport h);

Parameters

  • h - handle to the object that was returned by Create method

Description

    This property defines what to do with undelivered messages when the transport is being turned off by setting Active to false. If FailOnInactive is true, all pending messages will be marked as failed and returned to messenger. If FailOnInactive is false, the messages will be kept in delivery queue.

See also:     Active

Discuss this help topic in MsgConnect Forum