The ISmsMessage::SetTimeout method, in Configuration Manager, sets the message timeout.

[IDL]
HRESULT SetTimeout(
	DWORD dwTimeout
);

Parameters

dwTimeout


Data type: DWORDQualifiers: [in]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.