ClaimsIdentity.WriteTo 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
WriteTo(BinaryWriter) |
使用 BinaryWriter 序列化。 |
WriteTo(BinaryWriter, Byte[]) |
使用 BinaryWriter 序列化。 |
WriteTo(BinaryWriter)
使用 BinaryWriter 序列化。
public:
virtual void WriteTo(System::IO::BinaryWriter ^ writer);
public virtual void WriteTo (System.IO.BinaryWriter writer);
abstract member WriteTo : System.IO.BinaryWriter -> unit
override this.WriteTo : System.IO.BinaryWriter -> unit
Public Overridable Sub WriteTo (writer As BinaryWriter)
參數
- writer
- BinaryWriter
要用於資料儲存的寫入器。
例外狀況
writer
為 null
。
適用於
WriteTo(BinaryWriter, Byte[])
使用 BinaryWriter 序列化。
protected:
virtual void WriteTo(System::IO::BinaryWriter ^ writer, cli::array <System::Byte> ^ userData);
protected virtual void WriteTo (System.IO.BinaryWriter writer, byte[] userData);
protected virtual void WriteTo (System.IO.BinaryWriter writer, byte[]? userData);
abstract member WriteTo : System.IO.BinaryWriter * byte[] -> unit
override this.WriteTo : System.IO.BinaryWriter * byte[] -> unit
Protected Overridable Sub WriteTo (writer As BinaryWriter, userData As Byte())
參數
- writer
- BinaryWriter
要用於資料儲存的寫入器。
- userData
- Byte[]
衍生類型所提供的其他資料。
例外狀況
writer
為 null
。