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

HRESULT GetTimeout(
	DWORD*  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:


The method succeeded.


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.