The ISmsMessage::GetTimeout method, in Configuration Manager, gets the message timeout.

[IDL]
HRESULT GetTimeout(
	DWORD*  pdwTimeout
);

Parameters

pdwTimeout


Data type: DWORDQualifiers: [out]Pointer to the timeout, in seconds.

Return Values

An HRESULT code. Possible values include, but are not limited to, the following:

S_OK


The method succeeded.

Remarks

For messages sent through ISmsMessaging::Post Method, the timeout determines the time in the queue before the message is considered expired and deleted. For messages sent through ISmsMessaging::Invoke Method, the timeout is ignored because the endpoint will be invoked directly without being queued.

See Also


Send comments about this topic to Microsoft.