UrlAttribute.IsContextOK(Context, IConstructionCallMessage) 메서드

정의

지정된 ContextUrlAttribute의 요구 사항을 충족시키는지 여부를 나타내는 부울 값을 반환합니다.

public:
 override bool IsContextOK(System::Runtime::Remoting::Contexts::Context ^ ctx, System::Runtime::Remoting::Activation::IConstructionCallMessage ^ msg);
public override bool IsContextOK (System.Runtime.Remoting.Contexts.Context ctx, System.Runtime.Remoting.Activation.IConstructionCallMessage msg);
[System.Runtime.InteropServices.ComVisible(true)]
public override bool IsContextOK (System.Runtime.Remoting.Contexts.Context ctx, System.Runtime.Remoting.Activation.IConstructionCallMessage msg);
[System.Runtime.InteropServices.ComVisible(true)]
[System.Security.SecurityCritical]
public override bool IsContextOK (System.Runtime.Remoting.Contexts.Context ctx, System.Runtime.Remoting.Activation.IConstructionCallMessage msg);
override this.IsContextOK : System.Runtime.Remoting.Contexts.Context * System.Runtime.Remoting.Activation.IConstructionCallMessage -> bool
[<System.Runtime.InteropServices.ComVisible(true)>]
override this.IsContextOK : System.Runtime.Remoting.Contexts.Context * System.Runtime.Remoting.Activation.IConstructionCallMessage -> bool
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Security.SecurityCritical>]
override this.IsContextOK : System.Runtime.Remoting.Contexts.Context * System.Runtime.Remoting.Activation.IConstructionCallMessage -> bool
Public Overrides Function IsContextOK (ctx As Context, msg As IConstructionCallMessage) As Boolean

매개 변수

ctx
Context

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

msg
IConstructionCallMessage

생성 호출, 현재 컨텍스트를 확인해야 하는 매개 변수입니다.

반환

전달된 컨텍스트가 허용 가능하면 true이고, 그렇지 않으면 false입니다.

특성

예외

직접 실행 호출자에 인프라 권한이 없는 경우

적용 대상

추가 정보