ClaimsIdentity.CreateClaim(BinaryReader) 方法

定義

提供衍生類型的擴充點來建立自訂 ClaimProvides an extensibility point for derived types to create a custom 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

指向宣告的 BinaryReaderThe BinaryReader that points to the claim.

傳回

Claim

新的 ClaimA new Claim.

例外狀況

readernullreader is null.

適用於