MetadataSerializer.ReadRoleDescriptorAttributes(XmlReader, RoleDescriptor) 方法

定义

读取角色描述符特性。Reads role descriptor attributes.

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

参数

reader
XmlReader

XML 读取器。The XML reader.

roleDescriptor
RoleDescriptor

角色说明。The role descriptor.

例外

readernullreader is null.

- 或 --or- roleDescriptornullroleDescriptor is .null

- 或 --or- roleDescriptorProtocolsSupported 属性为 nullThe ProtocolsSupported property of roleDescriptor is null.

适用于