SerializationInfo.AssemblyName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the assembly name of the type to serialize during serialization only.
public:
property System::String ^ AssemblyName { System::String ^ get(); void set(System::String ^ value); };
public string AssemblyName { get; set; }
member this.AssemblyName : string with get, set
Public Property AssemblyName As String
Property Value
The full name of the assembly of the type to serialize.
Exceptions
The value the property is set to is null
.
Remarks
The AssemblyName is the same as the value returned by 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.
Caution
Do not use this property during deserialization because the value of this property is undefined.
Applies to
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про