Språk

IContextPropertyActivator.IsOKToActivate(IConstructionCallMessage) Metod

Definition

Anger om det är okej att aktivera den objekttyp som anges i parametern msg .

Detta API stöder produktinfrastrukturen och är inte avsett att användas direkt från koden.

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

Parametrar

Returer

Ett booleskt värde som anger om den begärda typen kan aktiveras.

Attribut

Gäller för