Click or drag to resize

SerializerTBeginSerialize Method (IEnumerableT, Stream, AsyncCallback, Object)

Begins to serialize the objects to the specified stream using a default encoding.

Namespace:  Enkoni.Framework.Serialization
Assembly:  Enkoni.Framework.Serialization (in Enkoni.Framework.Serialization.dll) Version: 1.3.0.1
Syntax
public IAsyncResult BeginSerialize(
	IEnumerable<T> objects,
	Stream stream,
	AsyncCallback callback,
	Object state
)

Parameters

objects
Type: System.Collections.GenericIEnumerableT
The collection of objects that must be serialized.
stream
Type: System.IOStream
The stream to which the objects must be serialized.
callback
Type: SystemAsyncCallback
The method to be called when the asynchronous operation is completed.
state
Type: SystemObject
A user-provided object that distinguishes this particular asynchronous request from other requests.

Return Value

Type: IAsyncResult
An IAsyncResult that references the asynchronous operation.
See Also