共用方式為


StrategyBasedComWrappers.DefaultIUnknownStrategy 屬性

定義

取得用於呼叫 IUnknown 方法的預設策略。

public:
 static property System::Runtime::InteropServices::Marshalling::IIUnknownStrategy ^ DefaultIUnknownStrategy { System::Runtime::InteropServices::Marshalling::IIUnknownStrategy ^ get(); };
public static System.Runtime.InteropServices.Marshalling.IIUnknownStrategy DefaultIUnknownStrategy { get; }
static member DefaultIUnknownStrategy : System.Runtime.InteropServices.Marshalling.IIUnknownStrategy
Public Shared ReadOnly Property DefaultIUnknownStrategy As IIUnknownStrategy

屬性值

備註

此策略假設所有提供的 COM 物件都是自由線程,而且 IUnknown 可以從任何線程呼叫方法。

適用於