The ISmsMessage::SetTimeout method, in Configuration Manager, sets the message timeout.
[IDL] HRESULT SetTimeout( DWORD dwTimeout );
- Data type: DWORDQualifiers: [in]The timeout, in seconds.
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.
Send comments about this topic to Microsoft.