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 がスローされます。 このグローバル インスタンスを使用できるシナリオは、* TrackerSupport フラグと TrackerObject フラグを使用したオブジェクト追跡です。

適用対象