SynchronizationAttribute.IsContextOK 메서드

정의

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

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

이 특성으로 표시된 컨텍스트 바인딩된 개체의 생성 시 수집된 정보입니다. SynchronizationAttribute 컨텍스트가 허용되는지 확인하는 동안 컨텍스트에서 속성을 검사, 추가 및 제거할 수 있습니다.

반품

true전달된 컨텍스트가 정상이면 이고, 그렇지 않으면 . false

특성

예외

ctx 또는 msg 매개 변수가 .입니다null.

적용 대상