Share via


IContextAttribute.GetPropertiesForNewContext(IConstructionCallMessage) Yöntem

Tanım

Verilen iletideki çağıranın bağlam özelliklerini döndürür.

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

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

Parametreler

msg
IConstructionCallMessage

IConstructionCallMessage Bağlam özelliklerinin ekleneceği yer.

Öznitelikler

Açıklamalar

yöntemi, GetPropertiesForNewContext arabirimdeki ContextPropertiesIConstructionCallMessage özellik listesine doğrudan bağlam özellikleri ekleyebilir. sınıfındaki ContextAttribute varsayılan uygulama bunu bağlam özelliği listesine ekler. Bağlam özniteliklerini geçersiz kılmak GetPropertiesForNewContext ücretsizdir ve kendi davranışlarını uygulayabilir. Örneğin, listeye bağlam özelliğini uygulayan yeni bir sınıf ekleyebilirler.

Şunlara uygulanır