Freigeben über


MetadataSerializer.WriteRoleDescriptorAttributes Methode

Definition

Schreibt Rollendeskriptorattribute.

protected:
 virtual void WriteRoleDescriptorAttributes(System::Xml::XmlWriter ^ writer, System::IdentityModel::Metadata::RoleDescriptor ^ roleDescriptor);
protected virtual void WriteRoleDescriptorAttributes (System.Xml.XmlWriter writer, System.IdentityModel.Metadata.RoleDescriptor roleDescriptor);
abstract member WriteRoleDescriptorAttributes : System.Xml.XmlWriter * System.IdentityModel.Metadata.RoleDescriptor -> unit
override this.WriteRoleDescriptorAttributes : System.Xml.XmlWriter * System.IdentityModel.Metadata.RoleDescriptor -> unit
Protected Overridable Sub WriteRoleDescriptorAttributes (writer As XmlWriter, roleDescriptor As RoleDescriptor)

Parameter

writer
XmlWriter

Der XML-Writer.

roleDescriptor
RoleDescriptor

Die Rollenbeschreibung.

Ausnahmen

writer ist null.

- oder -

roleDescriptor ist .null

- oder -

Die ProtocolsSupported-Eigenschaft von roleDescriptor ist null.

Gilt für: