共用方式為


OrleansStorageDefaultJsonSerializer.Serialize 方法

定義

多載

Serialize(Object)

Serialize(Object)

Serialize(Stream, Object)

Serialize(Stream, Object)

Serialize(TextWriter, Object)

Serialize(TextWriter, Object).

Serialize(Object)

來源:
OrleansStorageDefaultJsonSerializer.cs
public object Serialize (object data);
abstract member Serialize : obj -> obj
override this.Serialize : obj -> obj
Public Function Serialize (data As Object) As Object

參數

data
Object

傳回

實作

適用於

Serialize(Stream, Object)

來源:
OrleansStorageDefaultJsonSerializer.cs
public object Serialize (System.IO.Stream dataStream, object data);
abstract member Serialize : System.IO.Stream * obj -> obj
override this.Serialize : System.IO.Stream * obj -> obj
Public Function Serialize (dataStream As Stream, data As Object) As Object

參數

dataStream
Stream
data
Object

傳回

實作

適用於

Serialize(TextWriter, Object)

來源:
OrleansStorageDefaultJsonSerializer.cs
public object Serialize (System.IO.TextWriter writer, object data);
abstract member Serialize : System.IO.TextWriter * obj -> obj
override this.Serialize : System.IO.TextWriter * obj -> obj
Public Function Serialize (writer As TextWriter, data As Object) As Object

參數

writer
TextWriter
data
Object

傳回

實作

適用於