ContextAttribute.IsContextOK(Context, IConstructionCallMessage) Método

Definición

Devuelve un valor booleano que indica si el parámetro de contexto cumple los requisitos del atributo de contexto.

Esta API admite la infraestructura de producto y no está pensada para usarse directamente en el código.

public:
 virtual bool IsContextOK(System::Runtime::Remoting::Contexts::Context ^ ctx, System::Runtime::Remoting::Activation::IConstructionCallMessage ^ ctorMsg);
public virtual bool IsContextOK(System.Runtime.Remoting.Contexts.Context ctx, System.Runtime.Remoting.Activation.IConstructionCallMessage ctorMsg);
[System.Security.SecurityCritical]
public virtual bool IsContextOK(System.Runtime.Remoting.Contexts.Context ctx, System.Runtime.Remoting.Activation.IConstructionCallMessage ctorMsg);
abstract member IsContextOK : System.Runtime.Remoting.Contexts.Context * System.Runtime.Remoting.Activation.IConstructionCallMessage -> bool
override this.IsContextOK : System.Runtime.Remoting.Contexts.Context * System.Runtime.Remoting.Activation.IConstructionCallMessage -> bool
[<System.Security.SecurityCritical>]
abstract member IsContextOK : System.Runtime.Remoting.Contexts.Context * System.Runtime.Remoting.Activation.IConstructionCallMessage -> bool
override this.IsContextOK : System.Runtime.Remoting.Contexts.Context * System.Runtime.Remoting.Activation.IConstructionCallMessage -> bool
Public Overridable Function IsContextOK (ctx As Context, ctorMsg As IConstructionCallMessage) As Boolean

Parámetros

ctx
Context

Contexto en el que se va a comprobar.

ctorMsg
IConstructionCallMessage

al IConstructionCallMessage que se va a agregar la propiedad de contexto.

Devoluciones

true si el contexto pasado está bien; de lo contrario, false.

Implementaciones

Atributos

Excepciones

o ctxctorMsg es null.

Se aplica a