ClaimTypeElement 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 ClaimTypeElement 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| ClaimTypeElement() |
初始化 ClaimTypeElement 類別的新執行個體。 |
| ClaimTypeElement(String, Boolean) |
初始化 ClaimTypeElement 類別的新執行個體。 |
ClaimTypeElement()
初始化 ClaimTypeElement 類別的新執行個體。
public:
ClaimTypeElement();
public ClaimTypeElement();
Public Sub New ()
適用於
ClaimTypeElement(String, Boolean)
初始化 ClaimTypeElement 類別的新執行個體。
public:
ClaimTypeElement(System::String ^ claimType, bool isOptional);
public ClaimTypeElement(string claimType, bool isOptional);
new System.ServiceModel.Configuration.ClaimTypeElement : string * bool -> System.ServiceModel.Configuration.ClaimTypeElement
Public Sub New (claimType As String, isOptional As Boolean)
參數
- claimType
- String
一個統一資源識別碼(URI),用來指定權利要求的類型。 預先定義的權利要求類型可作為類別的 ClaimTypes 靜態屬性提供。
- isOptional
- Boolean
一個布林值,用來指定該權利要求是否為可選。