共用方式為


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

-或-

roleDescriptor 是 .null

-或-

roleDescriptorProtocolsSupported 屬性為 null

適用於