IConstructionCallMessage.ContextProperties Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a list of context properties that define the context in which the object is to be created.
public:
property System::Collections::IList ^ ContextProperties { System::Collections::IList ^ get(); };
public System.Collections.IList ContextProperties { get; }
public System.Collections.IList ContextProperties { [System.Security.SecurityCritical] get; }
member this.ContextProperties : System.Collections.IList
[<get: System.Security.SecurityCritical>]
member this.ContextProperties : System.Collections.IList
Public ReadOnly Property ContextProperties As IList
Property Value
A list of properties of the context in which to construct the object.
- Attributes
Exceptions
The immediate caller does not have infrastructure permission.
Remarks
A new object's context is generally chosen based on metadata attributes of the class. The context selection mechanism is extensible through custom attributes, also known as static context properties, which are compiled into the class metadata. When activating an object remotely, the ContextProperties contains the list of properties that were contributed by various attributes in the construction call message. These properties are used to create the context in which the server object is activated.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기