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
Syntaxpublic IAsyncResult BeginSerialize(
	IEnumerable<T> objects,
	Stream stream,
	AsyncCallback callback,
	Object state
)
Public Function BeginSerialize ( 
	objects As IEnumerable(Of T),
	stream As Stream,
	callback As AsyncCallback,
	state As Object
) As IAsyncResult
public:
IAsyncResult^ BeginSerialize(
	IEnumerable<T>^ objects, 
	Stream^ stream, 
	AsyncCallback^ callback, 
	Object^ state
)
member BeginSerialize : 
        objects : IEnumerable<'T> * 
        stream : Stream * 
        callback : AsyncCallback * 
        state : Object -> IAsyncResult 
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: 
IAsyncResultAn 
IAsyncResult that references the asynchronous operation.
See Also