Saml2Assertion.CanWriteSourceData Property
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 value that indicates whether this assertion was deserialized from XML source and can re-emit the XML data unchanged.
public:
virtual property bool CanWriteSourceData { bool get(); };
public virtual bool CanWriteSourceData { get; }
member this.CanWriteSourceData : bool
Public Overridable ReadOnly Property CanWriteSourceData As Boolean
true
if this assertion can re-emit the XML source data unchanged; otherwise, false
.
The default implementation preserves the source data when read using the ReadAssertion method and can re-emit the original data as long as the Id property has not changed from the time that assertion was read.
Important
It is very important that SAML assertions with different data have different IDs. If implementing a scheme whereby an assertion "template" is loaded and certain bits of data are filled in, the Id must be changed.
Product | Versions |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: