[TIBCO.EMS .NET client library 8.1 documentation]

Return the 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 the send check mode previously set by {SetNPSendCheckMode(MessageProducer, Int32)} method. Notice that if the returned value is {NPSEND_CHECK_DEFAULT} then the effective mode can be set by the server parameter applied to all producers.

Exceptions

ExceptionCondition
System..::.ArgumentException if producer is null

See Also