Collapse All Expand All

.NET Framework Class Library
Tibems Class See Also

[TIBCO.EMS .NET client library 5.1 documentation]

Return mode defining when a producer checks the result of sending a NON_PERSISTENT message.

Namespace: TIBCO.EMS
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)

# Syntax

    public static int GetNPSendCheckMode(
    	MessageProducer producer
    )

    Public Shared Function GetNPSendCheckMode ( _
    	producer As MessageProducer _
    ) As Integer

    public:
    static int GetNPSendCheckMode(
    	MessageProducer^ producer
    )

#### Parameters

producer
  Type: TIBCO.EMS..::.MessageProducer
  message producer, must not be null

#### Return Value

one of constants {NPSEND_CHECK_DEFAULT}, {NPSEND_CHECK_ALWAYS}, {NPSEND_CHECK_NEVER}, {NPSEND_CHECK_TEMP_DEST}, {NPSEND_CHECK_AUTH} or {NPSEND_CHECK_TEMP_AUTH}

# Remarks

This method returns send check mode previously set by {SetNPSendCheckMode(MessageProducer, Int32)} method. Notice if returned value is {NPSEND_CHECK_DEFAULT} then effective mode can be set by the server parameter applied to all producers.

# Exceptions

Exception | Condition
--- | ---
System..::.ArgumentException | if producer is null

# See Also

Tibems Class
TIBCO.EMS Namespace