IRpcOptions interface (objidlbase.h)

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

Inheritance

The IRpcOptions interface inherits from the IUnknown interface. IRpcOptions also has these types of members:

Methods

The IRpcOptions interface has these methods.

 
IRpcOptions::Query

The IRpcOptions::Query (objidlbase.h) method retrieves the value of an RPC binding option property.
IRpcOptions::Set

The IRpcOptions::Set (objidlbase.h) method 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

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