ComWrappers.RegisterForTrackerSupport(ComWrappers) メソッド

定義

参照トラッカー サポートのグローバル インスタンスとして使用する ComWrappers インスタンスを登録します。

public:
 static void RegisterForTrackerSupport(System::Runtime::InteropServices::ComWrappers ^ instance);
public static void RegisterForTrackerSupport (System.Runtime.InteropServices.ComWrappers instance);
static member RegisterForTrackerSupport : System.Runtime.InteropServices.ComWrappers -> unit
Public Shared Sub RegisterForTrackerSupport (instance As ComWrappers)

パラメーター

instance
ComWrappers

登録するインスタンス。

例外

メソッドは複数回呼び出されました。

注釈

この関数は、1 回のみ呼び出すことができます。 この関数を後続で呼び出すと InvalidOperationException 、スローされます。 このグローバル インスタンスを使用できるシナリオは、* オブジェクト追跡とTrackerSupportTrackerObjectフラグです。

適用対象