Поделиться через


MetadataSerializer.WriteRoleDescriptorAttributes Метод

Определение

Записывает атрибуты дескриптора роли.

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)

Параметры

writer
XmlWriter

Модуль записи XML.

roleDescriptor
RoleDescriptor

Дескриптор роли.

Исключения

writer имеет значение null.

-или-

Значение параметра roleDescriptor равно null.

-или-

Свойство ProtocolsSupported параметра roleDescriptor равно null.

Применяется к