IRpcOptions interface

Enables callers to set or query the values of various properties that control how COM handles remote procedure calls (RPC).

Methods

The IRpcOptions interface has these methods.

Method Description
IRpcOptions::Query Retrieves the value of an RPC binding option property.
IRpcOptions::Set Sets the value of an RPC binding option property.

Remarks

Using this interface, callers can set or query the COMBND_RPCTIMEOUT property, which controls how long your machine will attempt to establish RPC communications with another before failing. The property can have any one of the values enumerated in the following table.

Value Description
RPC_C_BINDING_INFINITE_TIMEOUT Keep trying to establish communications with no timeout.
RPC_C_BINDING_MIN_TIMEOUT Try to establish communications for the minimum time required by the protocol. This value favors performance over reliability.
RPC_C_BINDING_DEFAULT_TIMEOUT Try to establish communications for the default time. The value strikes a balance between performance and reliability.
RPC_C_BINDING_MAX_TIMEOUT Try to establish communications for the maximum time allowed by the protocol. This value favors reliability over performance.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header objidl.h (include ObjIdl.h)