ContextAttribute.GetPropertiesForNewContext(IConstructionCallMessage) 메서드

정의

지정된 메시지에 현재 컨텍스트 속성을 추가합니다.

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

public:
 virtual void GetPropertiesForNewContext(System::Runtime::Remoting::Activation::IConstructionCallMessage ^ ctorMsg);
public virtual void GetPropertiesForNewContext (System.Runtime.Remoting.Activation.IConstructionCallMessage ctorMsg);
[System.Security.SecurityCritical]
public virtual void GetPropertiesForNewContext (System.Runtime.Remoting.Activation.IConstructionCallMessage ctorMsg);
abstract member GetPropertiesForNewContext : System.Runtime.Remoting.Activation.IConstructionCallMessage -> unit
override this.GetPropertiesForNewContext : System.Runtime.Remoting.Activation.IConstructionCallMessage -> unit
[<System.Security.SecurityCritical>]
abstract member GetPropertiesForNewContext : System.Runtime.Remoting.Activation.IConstructionCallMessage -> unit
override this.GetPropertiesForNewContext : System.Runtime.Remoting.Activation.IConstructionCallMessage -> unit
Public Overridable Sub GetPropertiesForNewContext (ctorMsg As IConstructionCallMessage)

매개 변수

ctorMsg
IConstructionCallMessage

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

구현

특성

예외

ctorMsg 매개 변수가 null인 경우

설명

합니다 ContextAttribute 클래스의 구현인는 IContextProperty 속성입니다. 합니다 GetPropertiesForNewContext 속성을 추가 하는 메서드는 지정 된 IConstructionCallMessage 클래스 메시지가 수신 되 면 필요한 상황에 맞는 환경에서 새 개체를 만들 수 있습니다.

적용 대상