IContextPropertyActivator.IsOKToActivate(IConstructionCallMessage) Yöntem

Tanım

parametresinde msg belirtilen nesne türünü etkinleştirmenin uygun olup olmadığını gösterir.

Bu API, ürün altyapısını destekler ve doğrudan kodunuzdan kullanıma yönelik değildir.

public:
 bool IsOKToActivate(System::Runtime::Remoting::Activation::IConstructionCallMessage ^ msg);
public bool IsOKToActivate (System.Runtime.Remoting.Activation.IConstructionCallMessage msg);
[System.Security.SecurityCritical]
public bool IsOKToActivate (System.Runtime.Remoting.Activation.IConstructionCallMessage msg);
abstract member IsOKToActivate : System.Runtime.Remoting.Activation.IConstructionCallMessage -> bool
[<System.Security.SecurityCritical>]
abstract member IsOKToActivate : System.Runtime.Remoting.Activation.IConstructionCallMessage -> bool
Public Function IsOKToActivate (msg As IConstructionCallMessage) As Boolean

Parametreler

Döndürülenler

İstenen türün etkinleştirilip etkinleştirilemeyeceğini belirten bir Boole değeri.

Öznitelikler

Şunlara uygulanır