Compartir a través de


ISmsMessage::SetTimeout Method

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

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

[IDL]
HRESULT SetTimeout(
      DWORD dwTimeout
);

Parameters

  • dwTimeout
    Data type: DWORD

    Qualifiers: [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

Concepts

ISmsMessage Interface
ISmsMessaging Interface