ClaimTypeElement 构造函数
定义
初始化 ClaimTypeElement 类的新实例。Initializes a new instance of the ClaimTypeElement class.
重载
| ClaimTypeElement() |
初始化 ClaimTypeElement 类的新实例。Initializes a new instance of the ClaimTypeElement class. |
| ClaimTypeElement(String, Boolean) |
初始化 ClaimTypeElement 类的新实例。Initializes a new instance of the ClaimTypeElement class. |
ClaimTypeElement()
初始化 ClaimTypeElement 类的新实例。Initializes a new instance of the ClaimTypeElement class.
public:
ClaimTypeElement();
public ClaimTypeElement ();
Public Sub New ()
适用于
ClaimTypeElement(String, Boolean)
初始化 ClaimTypeElement 类的新实例。Initializes a new instance of the ClaimTypeElement class.
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)。A uniform resource identifier (URI) that specifies the type of claim. 预定义的声明类型是以 ClaimTypes 类的静态属性的形式提供的。Predefined claim types are available as static properties of the ClaimTypes class.
- isOptional
- Boolean
一个布尔值,该值指定声明是否可选。A boolean value that specifies whether the claim is optional.