ClaimsIdentity.CreateClaim(BinaryReader) 方法

定义

为派生类型提供扩展点以创建自定义 Claim

protected:
 virtual System::Security::Claims::Claim ^ CreateClaim(System::IO::BinaryReader ^ reader);
protected virtual System.Security.Claims.Claim CreateClaim (System.IO.BinaryReader reader);
abstract member CreateClaim : System.IO.BinaryReader -> System.Security.Claims.Claim
override this.CreateClaim : System.IO.BinaryReader -> System.Security.Claims.Claim
Protected Overridable Function CreateClaim (reader As BinaryReader) As Claim

参数

reader
BinaryReader

指向声明的 BinaryReader

返回

Claim

一个新的 Claim

例外

reader 上声明的默认值为 null

适用于