ClaimsPrincipal.WriteTo 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
WriteTo(BinaryWriter) |
使用 BinaryWriter 序列化。 |
WriteTo(BinaryWriter, Byte[]) |
使用 BinaryWriter 序列化。 |
WriteTo(BinaryWriter)
- Source:
- ClaimsPrincipal.cs
- Source:
- ClaimsPrincipal.cs
- Source:
- ClaimsPrincipal.cs
使用 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[])
- Source:
- ClaimsPrincipal.cs
- Source:
- ClaimsPrincipal.cs
- Source:
- ClaimsPrincipal.cs
使用 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
。