MessageProperties::Security Property
.NET Framework (current version)
Gets or sets the security-related property of a message.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: property SecurityMessageProperty^ Security { SecurityMessageProperty^ get(); void set(SecurityMessageProperty^ value); }
Property Value
Type: System.ServiceModel.Security::SecurityMessageProperty^A SecurityMessageProperty object.
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
Available since 3.0
Show: