RoleDescriptor 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 RoleDescriptor 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| 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.RoleDescriptor
Protected Sub New (protocolsSupported As Collection(Of Uri))
參數
- protocolsSupported
- Collection<Uri>
支援的協定集合。 初始化屬性 ProtocolsSupported 。