IContextPropertyActivator.IsOKToActivate(IConstructionCallMessage) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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