ContextAttribute.GetPropertiesForNewContext(IConstructionCallMessage) Yöntem

Tanım

Verilen iletiye geçerli bağlam özelliğini ekler.

Bu API, ürün altyapısını destekler ve doğrudan kodunuzdan kullanıma yönelik değildir.

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)

Parametreler

ctorMsg
IConstructionCallMessage

IConstructionCallMessage Bağlam özelliğinin ekleneceği yer.

Uygulamalar

Öznitelikler

Özel durumlar

ctorMsg parametresidirnull.

Açıklamalar

ContextAttribute sınıfı bir özelliğin IContextProperty uygulamasıdır. yöntemi, GetPropertiesForNewContext ileti alındığında yeni nesnenin gerekli bağlam ortamında oluşturulabilmesi için özelliğini verilen IConstructionCallMessage sınıfa ekler.

Şunlara uygulanır