ContextAttribute.IsContextOK(Context, IConstructionCallMessage) 메서드

정의

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

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

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

매개 변수

ctx
Context

확인할 컨텍스트입니다.

ctorMsg
IConstructionCallMessage

컨텍스트 속성을 추가할 IConstructionCallMessage입니다.

반환

Boolean

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

구현

특성

예외

ctx 또는 ctorMsgnull인 경우

적용 대상