語言

ClaimTypeElement 建構函式

定義

初始化 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

一個布林值,用來指定該權利要求是否為可選。

適用於