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

角色说明。

例外

writernull

- 或 -

roleDescriptornull

- 或 -

roleDescriptorProtocolsSupported 属性为 null

适用于