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: