RoleDescriptor 构造函数 
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 RoleDescriptor 类的新实例。
重载
| RoleDescriptor() | 初始化 RoleDescriptor 类的新实例。 | 
| RoleDescriptor(Collection<Uri>) | 初始化包含支持的协议的集合的 RoleDescriptor 类的一个新实例。 | 
RoleDescriptor()
初始化 RoleDescriptor 类的新实例。
protected:
 RoleDescriptor();protected RoleDescriptor ();Protected Sub New ()注解
属性 ProtocolsSupported 初始化为空集合。
适用于
RoleDescriptor(Collection<Uri>)
初始化包含支持的协议的集合的 RoleDescriptor 类的一个新实例。
protected:
 RoleDescriptor(System::Collections::ObjectModel::Collection<Uri ^> ^ protocolsSupported);protected RoleDescriptor (System.Collections.ObjectModel.Collection<Uri> protocolsSupported);new System.IdentityModel.Metadata.RoleDescriptor : System.Collections.ObjectModel.Collection<Uri> -> System.IdentityModel.Metadata.RoleDescriptorProtected Sub New (protocolsSupported As Collection(Of Uri))参数
- protocolsSupported
- Collection<Uri>
支持协议集合。 初始化 ProtocolsSupported 属性。