Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MessageProperties::Security Property

 

Gets or sets the security-related property of a message.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
property SecurityMessageProperty^ Security {
	SecurityMessageProperty^ get();
	void set(SecurityMessageProperty^ value);
}

HTTP client authentication results are translated into an instance of SecurityContext, which is attached to the message using a SecurityMessageProperty. This property can be used by higher layers to implement arbitrary authorization logic.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft