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.RoleDescriptor
Protected Sub New (protocolsSupported As Collection(Of Uri))
參數
- protocolsSupported
- Collection<Uri>
支援的通訊協定集合。 初始化 ProtocolsSupported 屬性。