IContextAttribute.IsContextOK(Context, IConstructionCallMessage) Método

Definición

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

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

public:
 bool IsContextOK(System::Runtime::Remoting::Contexts::Context ^ ctx, System::Runtime::Remoting::Activation::IConstructionCallMessage ^ msg);
public bool IsContextOK (System.Runtime.Remoting.Contexts.Context ctx, System.Runtime.Remoting.Activation.IConstructionCallMessage msg);
[System.Security.SecurityCritical]
public bool IsContextOK (System.Runtime.Remoting.Contexts.Context ctx, System.Runtime.Remoting.Activation.IConstructionCallMessage msg);
abstract member 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
Public Function IsContextOK (ctx As Context, msg As IConstructionCallMessage) As Boolean

Parámetros

ctx
Context

Contexto que se comprueba con el atributo de contexto actual.

msg
IConstructionCallMessage

Llamada de construcción cuyos parámetros deben cotejarse con el contexto actual.

Devoluciones

Boolean

Es true si el parámetro pasado al contexto es correcto; en caso contrario, es false.

Atributos

Se aplica a