Indicates whether this assertion was deserialized from XML source and can re-emit the XML data unchanged.
Пространство имен: Microsoft.IdentityModel.Tokens.Saml2
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)

Использование

Visual Basic
Dim instance As Saml2Assertion
Dim value As Boolean

value = instance.CanWriteSourceData

Синтаксис

Visual Basic
Public Overridable ReadOnly Property CanWriteSourceData As Boolean
C#
public virtual bool CanWriteSourceData { get; }
C++
public:
virtual property bool CanWriteSourceData {
		bool get ();
}
J#
/** @property */
public boolean get_CanWriteSourceData ()
JScript
public function get CanWriteSourceData () : 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 Saml2AssertionSerializer.ReadAssertion and is willing to re-emit the original data as long as the Id has not changed from the time that assertion was read.

Note that it is vitally 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.


Безопасность потоков

Любые открытые статические члены (Shared в Visual Basic) этого типа являются поточно-ориентированными.Любые члены экземпляров не являются гарантированно поточно-ориентированными.

Платформы

Платформа разработки

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

См. также