This documentation is archived and is not being maintained.

IBindCtx Interface

Provides the managed definition of the IBindCtx interface.

Namespace:  System.Runtime.InteropServices.ComTypes
Assembly:  mscorlib (in mscorlib.dll)

[GuidAttribute(L"0000000e-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IBindCtx

The IBindCtx type exposes the following members.

  NameDescription
Public methodEnumObjectParamEnumerates the strings that are the keys of the internally maintained table of contextual object parameters.
Public methodGetBindOptionsReturns the current binding options stored in the current bind context.
Public methodGetObjectParamLooks up the given key in the internally maintained table of contextual object parameters and returns the corresponding object, if one exists.
Public methodGetRunningObjectTableReturns access to the Running Object Table (ROT) relevant to this binding process.
Public methodRegisterObjectBoundRegisters the passed object as one of the objects that has been bound during a moniker operation and that should be released when the operation is complete.
Public methodRegisterObjectParamRegisters the specified object pointer under the specified name in the internally maintained table of object pointers.
Public methodReleaseBoundObjectsReleases all the objects currently registered with the bind context by using the RegisterObjectBound method.
Public methodRevokeObjectBoundRemoves the object from the set of registered objects that need to be released.
Public methodRevokeObjectParamRevokes the registration of the object currently found under the specified key in the internally maintained table of contextual object parameters, if that key is currently registered.
Public methodSetBindOptionsStores a block of parameters in the bind context. These parameters will apply to later UCOMIMoniker operations that use this bind context.
Top

For more information, see the existing documentation for IBindCtx in the MSDN library.

The common language runtime throws an exception when a COM method in native code returns an HRESULT. For more information, see How to: Map HRESULTs and Exceptions.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: