System.Runtime.Serialization.SerializationInfo.AssemblyName Property

Gets or sets the assembly name of the type to serialize during serialization only.

Syntax

public string AssemblyName { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

The SerializationInfo.AssemblyName is the same as the value returned by System.Reflection.Assembly.FullName property of the assembly of the containing type. This is the assembly name that the formatter uses when serializing type information for this object.

The assembly name contains the name of the assembly, version, culture, and some security information about the object.

Users who are changing the type being serialized (for example, to send a proxy for a particular type) will set the value of this property.

Note:

Do not use this property during deserialization because the value of this property is undefined.

Requirements

Namespace: System.Runtime.Serialization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0