IContextAttribute.IsContextOK(Context, IConstructionCallMessage) 메서드

정의

지정된 컨텍스트가 컨텍스트 특성의 요구 사항을 충족시키는지 여부를 나타내는 부울 값을 반환합니다.

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

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

매개 변수

ctx
Context

현재 컨텍스트 특성에 맞는지 확인할 컨텍스트입니다.

msg
IConstructionCallMessage

매개 변수가 현재 컨텍스트에 맞는지를 확인해야 할 생성 호출입니다.

반환

전달된 컨텍스트가 요구 사항을 충족하면 true이고, 그렇지 않으면 false입니다.

특성

적용 대상