1 <?xml version="1.0" encoding="utf-8"?><doc>
3 <name>System.Runtime.Serialization.Formatters</name>
6 <member name="T:System.Runtime.Serialization.Formatters.FormatterAssemblyStyle">
7 <summary>Indicates the method that will be used during deserialization for locating and loading assemblies.</summary>
9 <member name="F:System.Runtime.Serialization.Formatters.FormatterAssemblyStyle.Full">
10 <summary>In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The <see cref="Overload:System.Reflection.Assembly.Load"></see> method of the <see cref="T:System.Reflection.Assembly"></see> class is used to load the assembly.</summary>
13 <member name="F:System.Runtime.Serialization.Formatters.FormatterAssemblyStyle.Simple">
14 <summary>In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the <see cref="Overload:System.Reflection.Assembly.LoadWithPartialName"></see> method is used to load the assembly.</summary>
17 <member name="T:System.Runtime.Serialization.Formatters.FormatterTypeStyle">
18 <summary>Indicates the format in which type descriptions are laid out in the serialized stream.</summary>
20 <member name="F:System.Runtime.Serialization.Formatters.FormatterTypeStyle.TypesAlways">
21 <summary>Indicates that types can be given to all object members and <see cref="T:System.Runtime.Serialization.ISerializable"></see> object members.</summary>
24 <member name="F:System.Runtime.Serialization.Formatters.FormatterTypeStyle.TypesWhenNeeded">
25 <summary>Indicates that types can be stated only for arrays of objects, object members of type <see cref="T:System.Object"></see>, and <see cref="T:System.Runtime.Serialization.ISerializable"></see> non-primitive value types.</summary>
28 <member name="F:System.Runtime.Serialization.Formatters.FormatterTypeStyle.XsdString">
29 <summary>Indicates that strings can be given in the XSD format rather than SOAP. No string IDs are transmitted.</summary>
32 <member name="T:System.Runtime.Serialization.Formatters.IFieldInfo">
33 <summary>Allows access to field names and field types of objects that support the <see cref="T:System.Runtime.Serialization.ISerializable"></see> interface.</summary>
35 <member name="P:System.Runtime.Serialization.Formatters.IFieldInfo.FieldNames">
36 <summary>Gets or sets the field names of serialized objects.</summary>
37 <returns>The field names of serialized objects.</returns>
38 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
40 <member name="P:System.Runtime.Serialization.Formatters.IFieldInfo.FieldTypes">
41 <summary>Gets or sets the field types of the serialized objects.</summary>
42 <returns>The field types of the serialized objects.</returns>
43 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
45 <member name="T:System.Runtime.Serialization.Formatters.TypeFilterLevel">
46 <summary>Specifies the level of automatic deserialization for .NET Framework remoting.</summary>
48 <member name="F:System.Runtime.Serialization.Formatters.TypeFilterLevel.Full">
49 <summary>The full deserialization level for .NET Framework remoting. It supports all types that remoting supports in all situations.</summary>
52 <member name="F:System.Runtime.Serialization.Formatters.TypeFilterLevel.Low">
53 <summary>The low deserialization level for .NET Framework remoting. It supports types associated with basic remoting functionality.</summary>
56 <member name="T:System.Runtime.Serialization.FormatterServices">
57 <summary>Provides static methods to aid with the implementation of a <see cref="T:System.Runtime.Serialization.Formatter"></see> for serialization. This class cannot be inherited.</summary>
59 <member name="M:System.Runtime.Serialization.FormatterServices.CheckTypeSecurity(System.Type,System.Runtime.Serialization.Formatters.TypeFilterLevel)">
60 <summary>Determines whether the specified <see cref="T:System.Type"></see> can be deserialized with the <see cref="T:System.Runtime.Serialization.Formatters.TypeFilterLevel"></see> property set to Low.</summary>
61 <param name="t">The <see cref="T:System.Type"></see> to check for the ability to deserialize.</param>
62 <param name="securityLevel">The <see cref="T:System.Runtime.Serialization.Formatters.TypeFilterLevel"></see> property value.</param>
63 <exception cref="T:System.Security.SecurityException">The <paramref name="t">t</paramref> parameter is an advanced type and cannot be deserialized when the <see cref="System.Runtime.Serialization.Formatters.TypeFilterLevel"></see> property is set to Low.</exception>
65 <member name="M:System.Runtime.Serialization.FormatterServices.GetObjectData(System.Object,System.Reflection.MemberInfo[])">
66 <summary>Extracts the data from the specified object and returns it as an array of objects.</summary>
67 <param name="obj">The object to write to the formatter.</param>
68 <param name="members">The members to extract from the object.</param>
69 <returns>An array of <see cref="System.Object"></see> that contains data stored in <paramref name="members">members</paramref> and associated with <paramref name="obj">obj</paramref>.</returns>
70 <exception cref="T:System.ArgumentNullException">The <paramref name="obj">obj</paramref> or <paramref name="members">members</paramref> parameter is null.
71 An element of <paramref name="members">members</paramref> is null.</exception>
72 <exception cref="T:System.Runtime.Serialization.SerializationException">An element of <paramref name="members">members</paramref> does not represent a field.</exception>
74 <member name="M:System.Runtime.Serialization.FormatterServices.GetSafeUninitializedObject(System.Type)">
75 <summary>Creates a new instance of the specified object type.</summary>
76 <param name="type">The type of object to create.</param>
77 <returns>A zeroed object of the specified type.</returns>
78 <exception cref="T:System.ArgumentNullException">The <paramref name="type">type</paramref> parameter is null.</exception>
79 <exception cref="T:System.Runtime.Serialization.SerializationException">The <paramref name="type">type</paramref> parameter is not a valid common language runtime type.</exception>
80 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
82 <member name="M:System.Runtime.Serialization.FormatterServices.GetSerializableMembers(System.Type)">
83 <summary>Gets all the serializable members for a class of the specified <see cref="T:System.Type"></see>.</summary>
84 <param name="type">The type being serialized.</param>
85 <returns>An array of type <see cref="System.Reflection.MemberInfo"></see> of the non-transient, non-static members.</returns>
86 <exception cref="T:System.ArgumentNullException">The <paramref name="type">type</paramref> parameter is null.</exception>
87 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
89 <member name="M:System.Runtime.Serialization.FormatterServices.GetSerializableMembers(System.Type,System.Runtime.Serialization.StreamingContext)">
90 <summary>Gets all the serializable members for a class of the specified <see cref="T:System.Type"></see> and in the provided <see cref="T:System.Runtime.Serialization.StreamingContext"></see>.</summary>
91 <param name="type">The type being serialized or cloned.</param>
92 <param name="context">The context where the serialization occurs.</param>
93 <returns>An array of type <see cref="System.Reflection.MemberInfo"></see> of the non-transient, non-static members.</returns>
94 <exception cref="T:System.ArgumentNullException">The <paramref name="type">type</paramref> parameter is null.</exception>
95 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
97 <member name="M:System.Runtime.Serialization.FormatterServices.GetSurrogateForCyclicalReference(System.Runtime.Serialization.ISerializationSurrogate)">
98 <summary>Returns a serialization surrogate for the specified <see cref="T:System.Runtime.Serialization.ISerializationSurrogate"></see>.</summary>
99 <param name="innerSurrogate">The specified surrogate.</param>
100 <returns>An <see cref="System.Runtime.Serialization.ISerializationSurrogate"></see> for the specified <paramref name="innerSurrogate">innerSurrogate</paramref>.</returns>
102 <member name="M:System.Runtime.Serialization.FormatterServices.GetTypeFromAssembly(System.Reflection.Assembly,System.String)">
103 <summary>Looks up the <see cref="T:System.Type"></see> of the specified object in the provided <see cref="T:System.Reflection.Assembly"></see>.</summary>
104 <param name="assem">The assembly where you want to look up the object.</param>
105 <param name="name">The name of the object.</param>
106 <returns>The <see cref="System.Type"></see> of the named object.</returns>
107 <exception cref="T:System.ArgumentNullException">The <paramref name="assem">assem</paramref> parameter is null.</exception>
108 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
110 <member name="M:System.Runtime.Serialization.FormatterServices.GetUninitializedObject(System.Type)">
111 <summary>Creates a new instance of the specified object type.</summary>
112 <param name="type">The type of object to create.</param>
113 <returns>A zeroed object of the specified type.</returns>
114 <exception cref="T:System.ArgumentNullException">The <paramref name="type">type</paramref> parameter is null.</exception>
115 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
117 <member name="M:System.Runtime.Serialization.FormatterServices.PopulateObjectMembers(System.Object,System.Reflection.MemberInfo[],System.Object[])">
118 <summary>Populates the specified object with values for each field drawn from the data array of objects.</summary>
119 <param name="obj">The object to populate.</param>
120 <param name="members">An array of <see cref="T:System.Reflection.MemberInfo"></see> that describes which fields and properties to populate.</param>
121 <param name="data">An array of <see cref="T:System.Object"></see> that specifies the values for each field and property to populate.</param>
122 <returns>The newly populated object.</returns>
123 <exception cref="T:System.ArgumentNullException">The <paramref name="obj">obj</paramref>, <paramref name="members">members</paramref>, or <paramref name="data">data</paramref> parameter is null.
124 An element of <paramref name="members">members</paramref> is null.</exception>
125 <exception cref="T:System.ArgumentException">The length of <paramref name="members">members</paramref> does not match the length of <paramref name="data">data</paramref>.</exception>
126 <exception cref="T:System.Runtime.Serialization.SerializationException">An element of <paramref name="members">members</paramref> is not an instance of <see cref="System.Reflection.FieldInfo"></see>.</exception>
127 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
129 <member name="T:System.Runtime.Serialization.IDeserializationCallback">
130 <summary>Indicates that a class is to be notified when deserialization of the entire object graph has been completed. Note that this interface is not called when deserializing with the XmlSerializer (System.Xml.Serialization.XmlSerializer).</summary>
132 <member name="M:System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(System.Object)">
133 <summary>Runs when the entire object graph has been deserialized.</summary>
134 <param name="sender">The object that initiated the callback. The functionality for this parameter is not currently implemented.</param>
136 <member name="T:System.Runtime.Serialization.IFormatter">
137 <summary>Provides functionality for formatting serialized objects.</summary>
139 <member name="P:System.Runtime.Serialization.IFormatter.Binder">
140 <summary>Gets or sets the <see cref="T:System.Runtime.Serialization.SerializationBinder"></see> that performs type lookups during deserialization.</summary>
141 <returns>The <see cref="System.Runtime.Serialization.SerializationBinder"></see> that performs type lookups during deserialization.</returns>
143 <member name="P:System.Runtime.Serialization.IFormatter.Context">
144 <summary>Gets or sets the <see cref="T:System.Runtime.Serialization.StreamingContext"></see> used for serialization and deserialization.</summary>
145 <returns>The <see cref="System.Runtime.Serialization.StreamingContext"></see> used for serialization and deserialization.</returns>
147 <member name="M:System.Runtime.Serialization.IFormatter.Deserialize(System.IO.Stream)">
148 <summary>Deserializes the data on the provided stream and reconstitutes the graph of objects.</summary>
149 <param name="serializationStream">The stream that contains the data to deserialize.</param>
150 <returns>The top object of the deserialized graph.</returns>
152 <member name="M:System.Runtime.Serialization.IFormatter.Serialize(System.IO.Stream,System.Object)">
153 <summary>Serializes an object, or graph of objects with the given root to the provided stream.</summary>
154 <param name="serializationStream">The stream where the formatter puts the serialized data. This stream can reference a variety of backing stores (such as files, network, memory, and so on).</param>
155 <param name="graph">The object, or root of the object graph, to serialize. All child objects of this root object are automatically serialized.</param>
157 <member name="P:System.Runtime.Serialization.IFormatter.SurrogateSelector">
158 <summary>Gets or sets the <see cref="T:System.Runtime.Serialization.SurrogateSelector"></see> used by the current formatter.</summary>
159 <returns>The <see cref="System.Runtime.Serialization.SurrogateSelector"></see> used by this formatter.</returns>
161 <member name="T:System.Runtime.Serialization.IFormatterConverter">
162 <summary>Provides the connection between an instance of <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> and the formatter-provided class best suited to parse the data inside the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see>.</summary>
164 <member name="M:System.Runtime.Serialization.IFormatterConverter.Convert(System.Object,System.Type)">
165 <summary>Converts a value to the given <see cref="T:System.Type"></see>.</summary>
166 <param name="value">The object to be converted.</param>
167 <param name="type">The <see cref="T:System.Type"></see> into which value is to be converted.</param>
168 <returns>The converted <paramref name="value">value</paramref>.</returns>
170 <member name="M:System.Runtime.Serialization.IFormatterConverter.Convert(System.Object,System.TypeCode)">
171 <summary>Converts a value to the given <see cref="T:System.TypeCode"></see>.</summary>
172 <param name="value">The object to be converted.</param>
173 <param name="typeCode">The <see cref="T:System.TypeCode"></see> into which value is to be converted.</param>
174 <returns>The converted <paramref name="value">value</paramref>.</returns>
176 <member name="M:System.Runtime.Serialization.IFormatterConverter.ToBoolean(System.Object)">
177 <summary>Converts a value to a <see cref="T:System.Boolean"></see>.</summary>
178 <param name="value">The object to be converted.</param>
179 <returns>The converted <paramref name="value">value</paramref>.</returns>
181 <member name="M:System.Runtime.Serialization.IFormatterConverter.ToByte(System.Object)">
182 <summary>Converts a value to an 8-bit unsigned integer.</summary>
183 <param name="value">The object to be converted.</param>
184 <returns>The converted <paramref name="value">value</paramref>.</returns>
186 <member name="M:System.Runtime.Serialization.IFormatterConverter.ToChar(System.Object)">
187 <summary>Converts a value to a Unicode character.</summary>
188 <param name="value">The object to be converted.</param>
189 <returns>The converted <paramref name="value">value</paramref>.</returns>
191 <member name="M:System.Runtime.Serialization.IFormatterConverter.ToDateTime(System.Object)">
192 <summary>Converts a value to a <see cref="T:System.DateTime"></see>.</summary>
193 <param name="value">The object to be converted.</param>
194 <returns>The converted <paramref name="value">value</paramref>.</returns>
196 <member name="M:System.Runtime.Serialization.IFormatterConverter.ToDecimal(System.Object)">
197 <summary>Converts a value to a <see cref="T:System.Decimal"></see>.</summary>
198 <param name="value">The object to be converted.</param>
199 <returns>The converted <paramref name="value">value</paramref>.</returns>
201 <member name="M:System.Runtime.Serialization.IFormatterConverter.ToDouble(System.Object)">
202 <summary>Converts a value to a double-precision floating-point number.</summary>
203 <param name="value">The object to be converted.</param>
204 <returns>The converted <paramref name="value">value</paramref>.</returns>
206 <member name="M:System.Runtime.Serialization.IFormatterConverter.ToInt16(System.Object)">
207 <summary>Converts a value to a 16-bit signed integer.</summary>
208 <param name="value">The object to be converted.</param>
209 <returns>The converted <paramref name="value">value</paramref>.</returns>
211 <member name="M:System.Runtime.Serialization.IFormatterConverter.ToInt32(System.Object)">
212 <summary>Converts a value to a 32-bit signed integer.</summary>
213 <param name="value">The object to be converted.</param>
214 <returns>The converted <paramref name="value">value</paramref>.</returns>
216 <member name="M:System.Runtime.Serialization.IFormatterConverter.ToInt64(System.Object)">
217 <summary>Converts a value to a 64-bit signed integer.</summary>
218 <param name="value">The object to be converted.</param>
219 <returns>The converted <paramref name="value">value</paramref>.</returns>
221 <member name="M:System.Runtime.Serialization.IFormatterConverter.ToSByte(System.Object)">
222 <summary>Converts a value to a <see cref="T:System.SByte"></see>.</summary>
223 <param name="value">The object to be converted.</param>
224 <returns>The converted <paramref name="value">value</paramref>.</returns>
226 <member name="M:System.Runtime.Serialization.IFormatterConverter.ToSingle(System.Object)">
227 <summary>Converts a value to a single-precision floating-point number.</summary>
228 <param name="value">The object to be converted.</param>
229 <returns>The converted <paramref name="value">value</paramref>.</returns>
231 <member name="M:System.Runtime.Serialization.IFormatterConverter.ToString(System.Object)">
232 <summary>Converts a value to a <see cref="T:System.String"></see>.</summary>
233 <param name="value">The object to be converted.</param>
234 <returns>The converted <paramref name="value">value</paramref>.</returns>
236 <member name="M:System.Runtime.Serialization.IFormatterConverter.ToUInt16(System.Object)">
237 <summary>Converts a value to a 16-bit unsigned integer.</summary>
238 <param name="value">The object to be converted.</param>
239 <returns>The converted <paramref name="value">value</paramref>.</returns>
241 <member name="M:System.Runtime.Serialization.IFormatterConverter.ToUInt32(System.Object)">
242 <summary>Converts a value to a 32-bit unsigned integer.</summary>
243 <param name="value">The object to be converted.</param>
244 <returns>The converted <paramref name="value">value</paramref>.</returns>
246 <member name="M:System.Runtime.Serialization.IFormatterConverter.ToUInt64(System.Object)">
247 <summary>Converts a value to a 64-bit unsigned integer.</summary>
248 <param name="value">The object to be converted.</param>
249 <returns>The converted <paramref name="value">value</paramref>.</returns>
251 <member name="T:System.Runtime.Serialization.ISerializable">
252 <summary>Allows an object to control its own serialization and deserialization.</summary>
254 <member name="M:System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
255 <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> with the data needed to serialize the target object.</summary>
256 <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> to populate with data.</param>
257 <param name="context">The destination (see <see cref="T:System.Runtime.Serialization.StreamingContext"></see>) for this serialization.</param>
258 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
260 <member name="T:System.Runtime.Serialization.ISerializationSurrogate">
261 <summary>Implements a serialization surrogate selector that allows one object to perform serialization and deserialization of another.</summary>
263 <member name="M:System.Runtime.Serialization.ISerializationSurrogate.GetObjectData(System.Object,System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
264 <summary>Populates the provided <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> with the data needed to serialize the object.</summary>
265 <param name="obj">The object to serialize.</param>
266 <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> to populate with data.</param>
267 <param name="context">The destination (see <see cref="T:System.Runtime.Serialization.StreamingContext"></see>) for this serialization.</param>
268 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
270 <member name="M:System.Runtime.Serialization.ISerializationSurrogate.SetObjectData(System.Object,System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext,System.Runtime.Serialization.ISurrogateSelector)">
271 <summary>Populates the object using the information in the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see>.</summary>
272 <param name="obj">The object to populate.</param>
273 <param name="info">The information to populate the object.</param>
274 <param name="context">The source from which the object is deserialized.</param>
275 <param name="selector">The surrogate selector where the search for a compatible surrogate begins.</param>
276 <returns>The populated deserialized object.</returns>
277 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
279 <member name="T:System.Runtime.Serialization.ISurrogateSelector">
280 <summary>Indicates a serialization surrogate selector class.</summary>
282 <member name="M:System.Runtime.Serialization.ISurrogateSelector.ChainSelector(System.Runtime.Serialization.ISurrogateSelector)">
283 <summary>Specifies the next <see cref="T:System.Runtime.Serialization.ISurrogateSelector"></see> for surrogates to examine if the current instance does not have a surrogate for the specified type and assembly in the specified context.</summary>
284 <param name="selector">The next surrogate selector to examine.</param>
285 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
287 <member name="M:System.Runtime.Serialization.ISurrogateSelector.GetNextSelector">
288 <summary>Returns the next surrogate selector in the chain.</summary>
289 <returns>The next surrogate selector in the chain or null.</returns>
290 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
292 <member name="M:System.Runtime.Serialization.ISurrogateSelector.GetSurrogate(System.Type,System.Runtime.Serialization.StreamingContext,System.Runtime.Serialization.ISurrogateSelector@)">
293 <summary>Finds the surrogate that represents the specified object&#39;s type, starting with the specified surrogate selector for the specified serialization context.</summary>
294 <param name="type">The <see cref="T:System.Type"></see> of object (class) that needs a surrogate.</param>
295 <param name="context">The source or destination context for the current serialization.</param>
296 <param name="selector">When this method returns, contains a <see cref="T:System.Runtime.Serialization.ISurrogateSelector"></see> that holds a reference to the surrogate selector where the appropriate surrogate was found. This parameter is passed uninitialized.</param>
297 <returns>The appropriate surrogate for the given type in the given context.</returns>
298 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
300 <member name="T:System.Runtime.Serialization.ObjectIDGenerator">
301 <summary>Generates IDs for objects.</summary>
303 <member name="M:System.Runtime.Serialization.ObjectIDGenerator.#ctor">
304 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.ObjectIDGenerator"></see> class.</summary>
306 <member name="M:System.Runtime.Serialization.ObjectIDGenerator.GetId(System.Object,System.Boolean@)">
307 <summary>Returns the ID for the specified object, generating a new ID if the specified object has not already been identified by the <see cref="T:System.Runtime.Serialization.ObjectIDGenerator"></see>.</summary>
308 <param name="obj">The object you want an ID for.</param>
309 <param name="firstTime">true if obj was not previously known to the <see cref="T:System.Runtime.Serialization.ObjectIDGenerator"></see>; otherwise, false.</param>
310 <returns>The object&#39;s ID is used for serialization. <paramref name="firstTime">firstTime</paramref> is set to true if this is the first time the object has been identified; otherwise, it is set to false.</returns>
311 <exception cref="T:System.ArgumentNullException">The <paramref name="obj">obj</paramref> parameter is null.</exception>
312 <exception cref="T:System.Runtime.Serialization.SerializationException">The <see cref="System.Runtime.Serialization.ObjectIDGenerator"></see> has been asked to keep track of too many objects.</exception>
314 <member name="M:System.Runtime.Serialization.ObjectIDGenerator.HasId(System.Object,System.Boolean@)">
315 <summary>Determines whether an object has already been assigned an ID.</summary>
316 <param name="obj">The object you are asking for.</param>
317 <param name="firstTime">true if obj was not previously known to the <see cref="T:System.Runtime.Serialization.ObjectIDGenerator"></see>; otherwise, false.</param>
318 <returns>The object ID of <paramref name="obj">obj</paramref> if previously known to the <see cref="System.Runtime.Serialization.ObjectIDGenerator"></see>; otherwise, zero.</returns>
319 <exception cref="T:System.ArgumentNullException">The <paramref name="obj">obj</paramref> parameter is null.</exception>
321 <member name="T:System.Runtime.Serialization.ObjectManager">
322 <summary>Keeps track of objects as they are deserialized.</summary>
324 <member name="M:System.Runtime.Serialization.ObjectManager.#ctor(System.Runtime.Serialization.ISurrogateSelector,System.Runtime.Serialization.StreamingContext)">
325 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.ObjectManager"></see> class.</summary>
326 <param name="selector">The surrogate selector to use. The <see cref="T:System.Runtime.Serialization.ISurrogateSelector"></see> determines the correct surrogate to use when deserializing objects of a given type. At deserialization time, the surrogate selector creates a new instance of the object from the information transmitted on the stream.</param>
327 <param name="context">The streaming context. The <see cref="T:System.Runtime.Serialization.StreamingContext"></see> is not used by ObjectManager, but is passed as a parameter to any objects implementing <see cref="T:System.Runtime.Serialization.ISerializable"></see> or having a <see cref="T:System.Runtime.Serialization.ISerializationSurrogate"></see>. These objects can take specific actions depending on the source of the information to deserialize.</param>
328 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
330 <member name="M:System.Runtime.Serialization.ObjectManager.DoFixups">
331 <summary>Performs all the recorded fixups.</summary>
332 <exception cref="T:System.Runtime.Serialization.SerializationException">A fixup was not successfully completed.</exception>
334 <member name="M:System.Runtime.Serialization.ObjectManager.GetObject(System.Int64)">
335 <summary>Returns the object with the specified object ID.</summary>
336 <param name="objectID">The ID of the requested object.</param>
337 <returns>The object with the specified object ID if it has been previously stored or null if no such object has been registered.</returns>
338 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="objectID">objectID</paramref> parameter is less than or equal to zero.</exception>
340 <member name="M:System.Runtime.Serialization.ObjectManager.RaiseDeserializationEvent">
341 <summary>Raises the deserialization event to any registered object that implements <see cref="T:System.Runtime.Serialization.IDeserializationCallback"></see>.</summary>
343 <member name="M:System.Runtime.Serialization.ObjectManager.RaiseOnDeserializingEvent(System.Object)">
344 <summary>Invokes the method marked with the <see cref="T:System.Runtime.Serialization.OnDeserializingAttribute"></see>.</summary>
345 <param name="obj">The instance of the type that contains the method to be invoked.</param>
347 <member name="M:System.Runtime.Serialization.ObjectManager.RecordArrayElementFixup(System.Int64,System.Int32,System.Int64)">
348 <summary>Records a fixup for one element in an array.</summary>
349 <param name="arrayToBeFixed">The ID of the array used to record a fixup.</param>
350 <param name="index">The index within arrayFixup that a fixup is requested for.</param>
351 <param name="objectRequired">The ID of the object that the current array element will point to after fixup is completed.</param>
352 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="arrayToBeFixed">arrayToBeFixed</paramref> or <paramref name="objectRequired">objectRequired</paramref> parameter is less than or equal to zero.</exception>
353 <exception cref="T:System.ArgumentNullException">The <paramref name="index">index</paramref> parameter is null.</exception>
355 <member name="M:System.Runtime.Serialization.ObjectManager.RecordArrayElementFixup(System.Int64,System.Int32[],System.Int64)">
356 <summary>Records fixups for the specified elements in an array, to be executed later.</summary>
357 <param name="arrayToBeFixed">The ID of the array used to record a fixup.</param>
358 <param name="indices">The indexes within the multidimensional array that a fixup is requested for.</param>
359 <param name="objectRequired">The ID of the object the array elements will point to after fixup is completed.</param>
360 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="arrayToBeFixed">arrayToBeFixed</paramref> or <paramref name="objectRequired">objectRequired</paramref> parameter is less than or equal to zero.</exception>
361 <exception cref="T:System.ArgumentNullException">The <paramref name="indices">indices</paramref> parameter is null.</exception>
363 <member name="M:System.Runtime.Serialization.ObjectManager.RecordDelayedFixup(System.Int64,System.String,System.Int64)">
364 <summary>Records a fixup for an object member, to be executed later.</summary>
365 <param name="objectToBeFixed">The ID of the object that needs the reference to objectRequired.</param>
366 <param name="memberName">The member name of objectToBeFixed where the fixup will be performed.</param>
367 <param name="objectRequired">The ID of the object required by objectToBeFixed.</param>
368 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="objectToBeFixed">objectToBeFixed</paramref> or <paramref name="objectRequired">objectRequired</paramref> parameter is less than or equal to zero.</exception>
369 <exception cref="T:System.ArgumentNullException">The <paramref name="memberName">memberName</paramref> parameter is null.</exception>
371 <member name="M:System.Runtime.Serialization.ObjectManager.RecordFixup(System.Int64,System.Reflection.MemberInfo,System.Int64)">
372 <summary>Records a fixup for a member of an object, to be executed later.</summary>
373 <param name="objectToBeFixed">The ID of the object that needs the reference to the objectRequired object.</param>
374 <param name="member">The member of objectToBeFixed where the fixup will be performed.</param>
375 <param name="objectRequired">The ID of the object required by objectToBeFixed.</param>
376 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="objectToBeFixed">objectToBeFixed</paramref> or <paramref name="objectRequired">objectRequired</paramref> parameter is less than or equal to zero.</exception>
377 <exception cref="T:System.ArgumentNullException">The <paramref name="member">member</paramref> parameter is null.</exception>
379 <member name="M:System.Runtime.Serialization.ObjectManager.RegisterObject(System.Object,System.Int64)">
380 <summary>Registers an object as it is deserialized, associating it with <paramref name="objectID">objectID</paramref>.</summary>
381 <param name="obj">The object to register.</param>
382 <param name="objectID">The ID of the object to register.</param>
383 <exception cref="T:System.ArgumentNullException">The <paramref name="obj">obj</paramref> parameter is null.</exception>
384 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="objectID">objectID</paramref> parameter is less than or equal to zero.</exception>
385 <exception cref="T:System.Runtime.Serialization.SerializationException">The <paramref name="objectID">objectID</paramref> has already been registered for an object other than <paramref name="obj">obj</paramref>.</exception>
387 <member name="M:System.Runtime.Serialization.ObjectManager.RegisterObject(System.Object,System.Int64,System.Runtime.Serialization.SerializationInfo)">
388 <summary>Registers an object as it is deserialized, associating it with <paramref name="objectID">objectID</paramref>, and recording the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> used with it.</summary>
389 <param name="obj">The object to register.</param>
390 <param name="objectID">The ID of the object to register.</param>
391 <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> used if obj implements <see cref="T:System.Runtime.Serialization.ISerializable"></see> or has a <see cref="T:System.Runtime.Serialization.ISerializationSurrogate"></see>. info will be completed with any required fixup information and then passed to the required object when that object is completed.</param>
392 <exception cref="T:System.ArgumentNullException">The <paramref name="obj">obj</paramref> parameter is null.</exception>
393 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="objectID">objectID</paramref> parameter is less than or equal to zero.</exception>
394 <exception cref="T:System.Runtime.Serialization.SerializationException">The <paramref name="objectID">objectID</paramref> has already been registered for an object other than <paramref name="obj">obj</paramref>.</exception>
396 <member name="M:System.Runtime.Serialization.ObjectManager.RegisterObject(System.Object,System.Int64,System.Runtime.Serialization.SerializationInfo,System.Int64,System.Reflection.MemberInfo)">
397 <summary>Registers a member of an object as it is deserialized, associating it with <paramref name="objectID">objectID</paramref>, and recording the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see>.</summary>
398 <param name="obj">The object to register.</param>
399 <param name="objectID">The ID of the object to register.</param>
400 <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> used if obj implements <see cref="T:System.Runtime.Serialization.ISerializable"></see> or has a <see cref="T:System.Runtime.Serialization.ISerializationSurrogate"></see>. info will be completed with any required fixup information and then passed to the required object when that object is completed.</param>
401 <param name="idOfContainingObj">The ID of the object that contains obj. This parameter is required only if obj is a value type.</param>
402 <param name="member">The field in the containing object where obj exists. This parameter has meaning only if obj is a value type.</param>
403 <exception cref="T:System.ArgumentNullException">The <paramref name="obj">obj</paramref> parameter is null.</exception>
404 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="objectID">objectID</paramref> parameter is less than or equal to zero.</exception>
405 <exception cref="T:System.Runtime.Serialization.SerializationException">The <paramref name="objectID">objectID</paramref> has already been registered for an object other than <paramref name="obj">obj</paramref>, or <paramref name="member">member</paramref> is not a <see cref="System.Reflection.FieldInfo"></see> and <paramref name="member">member</paramref> is not null.</exception>
407 <member name="M:System.Runtime.Serialization.ObjectManager.RegisterObject(System.Object,System.Int64,System.Runtime.Serialization.SerializationInfo,System.Int64,System.Reflection.MemberInfo,System.Int32[])">
408 <summary>Registers a member of an array contained in an object while it is deserialized, associating it with <paramref name="objectID">objectID</paramref>, and recording the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see>.</summary>
409 <param name="obj">The object to register.</param>
410 <param name="objectID">The ID of the object to register.</param>
411 <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> used if obj implements <see cref="T:System.Runtime.Serialization.ISerializable"></see> or has a <see cref="T:System.Runtime.Serialization.ISerializationSurrogate"></see>. info will be completed with any required fixup information and then passed to the required object when that object is completed.</param>
412 <param name="idOfContainingObj">The ID of the object that contains obj. This parameter is required only if obj is a value type.</param>
413 <param name="member">The field in the containing object where obj exists. This parameter has meaning only if obj is a value type.</param>
414 <param name="arrayIndex">If obj is a <see cref="T:System.ValueType"></see> and a member of an array, arrayIndex contains the index within that array where obj exists. arrayIndex is ignored if obj is not both a <see cref="T:System.ValueType"></see> and a member of an array.</param>
415 <exception cref="T:System.ArgumentNullException">The <paramref name="obj">obj</paramref> parameter is null.</exception>
416 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="objectID">objectID</paramref> parameter is less than or equal to zero.</exception>
417 <exception cref="T:System.Runtime.Serialization.SerializationException">The <paramref name="objectID">objectID</paramref> has already been registered for an object other than <paramref name="obj">obj</paramref>, or <paramref name="member">member</paramref> is not a <see cref="System.Reflection.FieldInfo"></see> and <paramref name="member">member</paramref> isn&#39;t null.</exception>
419 <member name="T:System.Runtime.Serialization.SerializationBinder">
420 <summary>Allows users to control class loading and mandate what class to load.</summary>
422 <member name="M:System.Runtime.Serialization.SerializationBinder.#ctor">
423 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.SerializationBinder"></see> class.</summary>
425 <member name="M:System.Runtime.Serialization.SerializationBinder.BindToName(System.Type,System.String@,System.String@)">
426 <summary>When overridden in a derived class, controls the binding of a serialized object to a type.</summary>
427 <param name="serializedType">The type of the object the formatter creates a new instance of.</param>
428 <param name="assemblyName">Specifies the <see cref="T:System.Reflection.Assembly"></see> name of the serialized object.</param>
429 <param name="typeName">Specifies the <see cref="T:System.Type"></see> name of the serialized object.</param>
431 <member name="M:System.Runtime.Serialization.SerializationBinder.BindToType(System.String,System.String)">
432 <summary>When overridden in a derived class, controls the binding of a serialized object to a type.</summary>
433 <param name="assemblyName">Specifies the <see cref="T:System.Reflection.Assembly"></see> name of the serialized object.</param>
434 <param name="typeName">Specifies the <see cref="T:System.Type"></see> name of the serialized object.</param>
435 <returns>The type of the object the formatter creates a new instance of.</returns>
437 <member name="T:System.Runtime.Serialization.SerializationEntry">
438 <summary>Holds the value, <see cref="T:System.Type"></see>, and name of a serialized object.</summary>
440 <member name="P:System.Runtime.Serialization.SerializationEntry.Name">
441 <summary>Gets the name of the object.</summary>
442 <returns>The name of the object.</returns>
444 <member name="P:System.Runtime.Serialization.SerializationEntry.ObjectType">
445 <summary>Gets the <see cref="T:System.Type"></see> of the object.</summary>
446 <returns>The <see cref="System.Type"></see> of the object.</returns>
448 <member name="P:System.Runtime.Serialization.SerializationEntry.Value">
449 <summary>Gets the value contained in the object.</summary>
450 <returns>The value contained in the object.</returns>
452 <member name="T:System.Runtime.Serialization.SerializationInfo">
453 <summary>Stores all the data needed to serialize or deserialize an object. This class cannot be inherited.</summary>
455 <member name="M:System.Runtime.Serialization.SerializationInfo.#ctor(System.Type,System.Runtime.Serialization.IFormatterConverter)">
456 <summary>Creates a new instance of the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> class.</summary>
457 <param name="type">The <see cref="T:System.Type"></see> of the object to serialize.</param>
458 <param name="converter">The <see cref="T:System.Runtime.Serialization.IFormatterConverter"></see> used during deserialization.</param>
459 <exception cref="T:System.ArgumentNullException"><paramref name="type">type</paramref> or <paramref name="converter">converter</paramref> is null.</exception>
461 <member name="M:System.Runtime.Serialization.SerializationInfo.AddValue(System.String,System.Object,System.Type)">
462 <summary>Adds a value into the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store, where <paramref name="value">value</paramref> is associated with <paramref name="name">name</paramref> and is serialized as being of <see cref="T:System.Type"></see><paramref name="type">type</paramref>.</summary>
463 <param name="name">The name to associate with the value, so it can be deserialized later.</param>
464 <param name="value">The value to be serialized. Any children of this object will automatically be serialized.</param>
465 <param name="type">The <see cref="T:System.Type"></see> to associate with the current object. This parameter must always be the type of the object itself or of one of its base classes.</param>
466 <exception cref="T:System.ArgumentNullException">If <paramref name="name">name</paramref> or <paramref name="type">type</paramref> is null.</exception>
467 <exception cref="T:System.Runtime.Serialization.SerializationException">A value has already been associated with <paramref name="name">name</paramref>.</exception>
469 <member name="M:System.Runtime.Serialization.SerializationInfo.AddValue(System.String,System.UInt64)">
470 <summary>Adds a 64-bit unsigned integer value into the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
471 <param name="name">The name to associate with the value, so it can be deserialized later.</param>
472 <param name="value">The UInt64 value to serialize.</param>
473 <exception cref="T:System.ArgumentNullException">The <paramref name="name">name</paramref> parameter is null.</exception>
474 <exception cref="T:System.Runtime.Serialization.SerializationException">A value has already been associated with <paramref name="name">name</paramref>.</exception>
476 <member name="M:System.Runtime.Serialization.SerializationInfo.AddValue(System.String,System.UInt32)">
477 <summary>Adds a 32-bit unsigned integer value into the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
478 <param name="name">The name to associate with the value, so it can be deserialized later.</param>
479 <param name="value">The UInt32 value to serialize.</param>
480 <exception cref="T:System.ArgumentNullException">The <paramref name="name">name</paramref> parameter is null.</exception>
481 <exception cref="T:System.Runtime.Serialization.SerializationException">A value has already been associated with <paramref name="name">name</paramref>.</exception>
483 <member name="M:System.Runtime.Serialization.SerializationInfo.AddValue(System.String,System.UInt16)">
484 <summary>Adds a 16-bit unsigned integer value into the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
485 <param name="name">The name to associate with the value, so it can be deserialized later.</param>
486 <param name="value">The UInt16 value to serialize.</param>
487 <exception cref="T:System.ArgumentNullException">The <paramref name="name">name</paramref> parameter is null.</exception>
488 <exception cref="T:System.Runtime.Serialization.SerializationException">A value has already been associated with <paramref name="name">name</paramref>.</exception>
490 <member name="M:System.Runtime.Serialization.SerializationInfo.AddValue(System.String,System.Single)">
491 <summary>Adds a single-precision floating-point value into the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
492 <param name="name">The name to associate with the value, so it can be deserialized later.</param>
493 <param name="value">The single value to serialize.</param>
494 <exception cref="T:System.ArgumentNullException">The <paramref name="name">name</paramref> parameter is null.</exception>
495 <exception cref="T:System.Runtime.Serialization.SerializationException">A value has already been associated with <paramref name="name">name</paramref>.</exception>
497 <member name="M:System.Runtime.Serialization.SerializationInfo.AddValue(System.String,System.SByte)">
498 <summary>Adds an 8-bit signed integer value into the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
499 <param name="name">The name to associate with the value, so it can be deserialized later.</param>
500 <param name="value">The Sbyte value to serialize.</param>
501 <exception cref="T:System.ArgumentNullException">The <paramref name="name">name</paramref> parameter is null.</exception>
502 <exception cref="T:System.Runtime.Serialization.SerializationException">A value has already been associated with <paramref name="name">name</paramref>.</exception>
504 <member name="M:System.Runtime.Serialization.SerializationInfo.AddValue(System.String,System.Object)">
505 <summary>Adds the specified object into the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store, where it is associated with a specified name.</summary>
506 <param name="name">The name to associate with the value, so it can be deserialized later.</param>
507 <param name="value">The value to be serialized. Any children of this object will automatically be serialized.</param>
508 <exception cref="T:System.ArgumentNullException"><paramref name="name">name</paramref> is null.</exception>
509 <exception cref="T:System.Runtime.Serialization.SerializationException">A value has already been associated with <paramref name="name">name</paramref>.</exception>
511 <member name="M:System.Runtime.Serialization.SerializationInfo.AddValue(System.String,System.Int64)">
512 <summary>Adds a 64-bit signed integer value into the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
513 <param name="name">The name to associate with the value, so it can be deserialized later.</param>
514 <param name="value">The Int64 value to serialize.</param>
515 <exception cref="T:System.ArgumentNullException">The <paramref name="name">name</paramref> parameter is null.</exception>
516 <exception cref="T:System.Runtime.Serialization.SerializationException">A value has already been associated with <paramref name="name">name</paramref>.</exception>
518 <member name="M:System.Runtime.Serialization.SerializationInfo.AddValue(System.String,System.Int32)">
519 <summary>Adds a 32-bit signed integer value into the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
520 <param name="name">The name to associate with the value, so it can be deserialized later.</param>
521 <param name="value">The Int32 value to serialize.</param>
522 <exception cref="T:System.ArgumentNullException">The <paramref name="name">name</paramref> parameter is null.</exception>
523 <exception cref="T:System.Runtime.Serialization.SerializationException">A value has already been associated with <paramref name="name">name</paramref>.</exception>
525 <member name="M:System.Runtime.Serialization.SerializationInfo.AddValue(System.String,System.Int16)">
526 <summary>Adds a 16-bit signed integer value into the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
527 <param name="name">The name to associate with the value, so it can be deserialized later.</param>
528 <param name="value">The Int16 value to serialize.</param>
529 <exception cref="T:System.ArgumentNullException">The <paramref name="name">name</paramref> parameter is null.</exception>
530 <exception cref="T:System.Runtime.Serialization.SerializationException">A value has already been associated with <paramref name="name">name</paramref>.</exception>
532 <member name="M:System.Runtime.Serialization.SerializationInfo.AddValue(System.String,System.Double)">
533 <summary>Adds a double-precision floating-point value into the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
534 <param name="name">The name to associate with the value, so it can be deserialized later.</param>
535 <param name="value">The double value to serialize.</param>
536 <exception cref="T:System.ArgumentNullException">The <paramref name="name">name</paramref> parameter is null.</exception>
537 <exception cref="T:System.Runtime.Serialization.SerializationException">A value has already been associated with <paramref name="name">name</paramref>.</exception>
539 <member name="M:System.Runtime.Serialization.SerializationInfo.AddValue(System.String,System.Decimal)">
540 <summary>Adds a decimal value into the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
541 <param name="name">The name to associate with the value, so it can be deserialized later.</param>
542 <param name="value">The decimal value to serialize.</param>
543 <exception cref="T:System.ArgumentNullException">If The <paramref name="name">name</paramref> parameter is null.</exception>
544 <exception cref="T:System.Runtime.Serialization.SerializationException">If a value has already been associated with <paramref name="name">name</paramref>.</exception>
546 <member name="M:System.Runtime.Serialization.SerializationInfo.AddValue(System.String,System.DateTime)">
547 <summary>Adds a <see cref="T:System.DateTime"></see> value into the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
548 <param name="name">The name to associate with the value, so it can be deserialized later.</param>
549 <param name="value">The <see cref="T:System.DateTime"></see> value to serialize.</param>
550 <exception cref="T:System.ArgumentNullException">The <paramref name="name">name</paramref> parameter is null.</exception>
551 <exception cref="T:System.Runtime.Serialization.SerializationException">A value has already been associated with <paramref name="name">name</paramref>.</exception>
553 <member name="M:System.Runtime.Serialization.SerializationInfo.AddValue(System.String,System.Char)">
554 <summary>Adds a Unicode character value into the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
555 <param name="name">The name to associate with the value, so it can be deserialized later.</param>
556 <param name="value">The character value to serialize.</param>
557 <exception cref="T:System.ArgumentNullException">The <paramref name="name">name</paramref> parameter is null.</exception>
558 <exception cref="T:System.Runtime.Serialization.SerializationException">A value has already been associated with <paramref name="name">name</paramref>.</exception>
560 <member name="M:System.Runtime.Serialization.SerializationInfo.AddValue(System.String,System.Byte)">
561 <summary>Adds an 8-bit unsigned integer value into the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
562 <param name="name">The name to associate with the value, so it can be deserialized later.</param>
563 <param name="value">The byte value to serialize.</param>
564 <exception cref="T:System.ArgumentNullException">The <paramref name="name">name</paramref> parameter is null.</exception>
565 <exception cref="T:System.Runtime.Serialization.SerializationException">A value has already been associated with <paramref name="name">name</paramref>.</exception>
567 <member name="M:System.Runtime.Serialization.SerializationInfo.AddValue(System.String,System.Boolean)">
568 <summary>Adds a Boolean value into the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
569 <param name="name">The name to associate with the value, so it can be deserialized later.</param>
570 <param name="value">The Boolean value to serialize.</param>
571 <exception cref="T:System.ArgumentNullException">The <paramref name="name">name</paramref> parameter is null.</exception>
572 <exception cref="T:System.Runtime.Serialization.SerializationException">A value has already been associated with <paramref name="name">name</paramref>.</exception>
574 <member name="P:System.Runtime.Serialization.SerializationInfo.AssemblyName">
575 <summary>Gets or sets the assembly name of the type to serialize during serialization only.</summary>
576 <returns>The full name of the assembly of the type to serialize.</returns>
577 <exception cref="T:System.ArgumentNullException">The value the property is set to is null.</exception>
579 <member name="P:System.Runtime.Serialization.SerializationInfo.FullTypeName">
580 <summary>Gets or sets the full name of the <see cref="T:System.Type"></see> to serialize.</summary>
581 <returns>The full name of the type to serialize.</returns>
582 <exception cref="T:System.ArgumentNullException">The value this property is set to is null.</exception>
584 <member name="M:System.Runtime.Serialization.SerializationInfo.GetBoolean(System.String)">
585 <summary>Retrieves a Boolean value from the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
586 <param name="name">The name associated with the value to retrieve.</param>
587 <returns>The Boolean value associated with <paramref name="name">name</paramref>.</returns>
588 <exception cref="T:System.ArgumentNullException"><paramref name="name">name</paramref> is null.</exception>
589 <exception cref="T:System.InvalidCastException">The value associated with <paramref name="name">name</paramref> cannot be converted to a Boolean value.</exception>
590 <exception cref="T:System.Runtime.Serialization.SerializationException">An element with the specified name is not found in the current instance.</exception>
592 <member name="M:System.Runtime.Serialization.SerializationInfo.GetByte(System.String)">
593 <summary>Retrieves an 8-bit unsigned integer value from the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
594 <param name="name">The name associated with the value to retrieve.</param>
595 <returns>The 8-bit unsigned integer associated with <paramref name="name">name</paramref>.</returns>
596 <exception cref="T:System.ArgumentNullException"><paramref name="name">name</paramref> is null.</exception>
597 <exception cref="T:System.InvalidCastException">The value associated with <paramref name="name">name</paramref> cannot be converted to an 8-bit unsigned integer.</exception>
598 <exception cref="T:System.Runtime.Serialization.SerializationException">An element with the specified name is not found in the current instance.</exception>
600 <member name="M:System.Runtime.Serialization.SerializationInfo.GetChar(System.String)">
601 <summary>Retrieves a Unicode character value from the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
602 <param name="name">The name associated with the value to retrieve.</param>
603 <returns>The Unicode character associated with <paramref name="name">name</paramref>.</returns>
604 <exception cref="T:System.ArgumentNullException"><paramref name="name">name</paramref> is null.</exception>
605 <exception cref="T:System.InvalidCastException">The value associated with <paramref name="name">name</paramref> cannot be converted to a Unicode character.</exception>
606 <exception cref="T:System.Runtime.Serialization.SerializationException">An element with the specified name is not found in the current instance.</exception>
608 <member name="M:System.Runtime.Serialization.SerializationInfo.GetDateTime(System.String)">
609 <summary>Retrieves a <see cref="T:System.DateTime"></see> value from the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
610 <param name="name">The name associated with the value to retrieve.</param>
611 <returns>The <see cref="System.DateTime"></see> value associated with <paramref name="name">name</paramref>.</returns>
612 <exception cref="T:System.ArgumentNullException"><paramref name="name">name</paramref> is null.</exception>
613 <exception cref="T:System.InvalidCastException">The value associated with <paramref name="name">name</paramref> cannot be converted to a <see cref="System.DateTime"></see> value.</exception>
614 <exception cref="T:System.Runtime.Serialization.SerializationException">An element with the specified name is not found in the current instance.</exception>
616 <member name="M:System.Runtime.Serialization.SerializationInfo.GetDecimal(System.String)">
617 <summary>Retrieves a decimal value from the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
618 <param name="name">The name associated with the value to retrieve.</param>
619 <returns>A decimal value from the <see cref="System.Runtime.Serialization.SerializationInfo"></see>.</returns>
620 <exception cref="T:System.ArgumentNullException"><paramref name="name">name</paramref> is null.</exception>
621 <exception cref="T:System.InvalidCastException">The value associated with <paramref name="name">name</paramref> cannot be converted to a decimal.</exception>
622 <exception cref="T:System.Runtime.Serialization.SerializationException">An element with the specified name is not found in the current instance.</exception>
624 <member name="M:System.Runtime.Serialization.SerializationInfo.GetDouble(System.String)">
625 <summary>Retrieves a double-precision floating-point value from the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
626 <param name="name">The name associated with the value to retrieve.</param>
627 <returns>The double-precision floating-point value associated with <paramref name="name">name</paramref>.</returns>
628 <exception cref="T:System.ArgumentNullException"><paramref name="name">name</paramref> is null.</exception>
629 <exception cref="T:System.InvalidCastException">The value associated with <paramref name="name">name</paramref> cannot be converted to a double-precision floating-point value.</exception>
630 <exception cref="T:System.Runtime.Serialization.SerializationException">An element with the specified name is not found in the current instance.</exception>
632 <member name="M:System.Runtime.Serialization.SerializationInfo.GetEnumerator">
633 <summary>Returns a <see cref="T:System.Runtime.Serialization.SerializationInfoEnumerator"></see> used to iterate through the name-value pairs in the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
634 <returns>A <see cref="System.Runtime.Serialization.SerializationInfoEnumerator"></see> for parsing the name-value pairs contained in the <see cref="System.Runtime.Serialization.SerializationInfo"></see> store.</returns>
636 <member name="M:System.Runtime.Serialization.SerializationInfo.GetInt16(System.String)">
637 <summary>Retrieves a 16-bit signed integer value from the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
638 <param name="name">The name associated with the value to retrieve.</param>
639 <returns>The 16-bit signed integer associated with <paramref name="name">name</paramref>.</returns>
640 <exception cref="T:System.ArgumentNullException"><paramref name="name">name</paramref> is null.</exception>
641 <exception cref="T:System.InvalidCastException">The value associated with <paramref name="name">name</paramref> cannot be converted to a 16-bit signed integer.</exception>
642 <exception cref="T:System.Runtime.Serialization.SerializationException">An element with the specified name is not found in the current instance.</exception>
644 <member name="M:System.Runtime.Serialization.SerializationInfo.GetInt32(System.String)">
645 <summary>Retrieves a 32-bit signed integer value from the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
646 <param name="name">The name of the value to retrieve.</param>
647 <returns>The 32-bit signed integer associated with <paramref name="name">name</paramref>.</returns>
648 <exception cref="T:System.ArgumentNullException"><paramref name="name">name</paramref> is null.</exception>
649 <exception cref="T:System.InvalidCastException">The value associated with <paramref name="name">name</paramref> cannot be converted to a 32-bit signed integer.</exception>
650 <exception cref="T:System.Runtime.Serialization.SerializationException">An element with the specified name is not found in the current instance.</exception>
652 <member name="M:System.Runtime.Serialization.SerializationInfo.GetInt64(System.String)">
653 <summary>Retrieves a 64-bit signed integer value from the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
654 <param name="name">The name associated with the value to retrieve.</param>
655 <returns>The 64-bit signed integer associated with <paramref name="name">name</paramref>.</returns>
656 <exception cref="T:System.ArgumentNullException"><paramref name="name">name</paramref> is null.</exception>
657 <exception cref="T:System.InvalidCastException">The value associated with <paramref name="name">name</paramref> cannot be converted to a 64-bit signed integer.</exception>
658 <exception cref="T:System.Runtime.Serialization.SerializationException">An element with the specified name is not found in the current instance.</exception>
660 <member name="M:System.Runtime.Serialization.SerializationInfo.GetSByte(System.String)">
661 <summary>Retrieves an 8-bit signed integer value from the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
662 <param name="name">The name associated with the value to retrieve.</param>
663 <returns>The 8-bit signed integer associated with <paramref name="name">name</paramref>.</returns>
664 <exception cref="T:System.ArgumentNullException"><paramref name="name">name</paramref> is null.</exception>
665 <exception cref="T:System.InvalidCastException">The value associated with <paramref name="name">name</paramref> cannot be converted to an 8-bit signed integer.</exception>
666 <exception cref="T:System.Runtime.Serialization.SerializationException">An element with the specified name is not found in the current instance.</exception>
668 <member name="M:System.Runtime.Serialization.SerializationInfo.GetSingle(System.String)">
669 <summary>Retrieves a single-precision floating-point value from the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
670 <param name="name">The name of the value to retrieve.</param>
671 <returns>The single-precision floating-point value associated with <paramref name="name">name</paramref>.</returns>
672 <exception cref="T:System.ArgumentNullException"><paramref name="name">name</paramref> is null.</exception>
673 <exception cref="T:System.InvalidCastException">The value associated with <paramref name="name">name</paramref> cannot be converted to a single-precision floating-point value.</exception>
674 <exception cref="T:System.Runtime.Serialization.SerializationException">An element with the specified name is not found in the current instance.</exception>
676 <member name="M:System.Runtime.Serialization.SerializationInfo.GetString(System.String)">
677 <summary>Retrieves a <see cref="T:System.String"></see> value from the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
678 <param name="name">The name associated with the value to retrieve.</param>
679 <returns>The <see cref="System.String"></see> associated with <paramref name="name">name</paramref>.</returns>
680 <exception cref="T:System.ArgumentNullException"><paramref name="name">name</paramref> is null.</exception>
681 <exception cref="T:System.InvalidCastException">The value associated with <paramref name="name">name</paramref> cannot be converted to a <see cref="System.String"></see>.</exception>
682 <exception cref="T:System.Runtime.Serialization.SerializationException">An element with the specified name is not found in the current instance.</exception>
684 <member name="M:System.Runtime.Serialization.SerializationInfo.GetUInt16(System.String)">
685 <summary>Retrieves a 16-bit unsigned integer value from the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
686 <param name="name">The name associated with the value to retrieve.</param>
687 <returns>The 16-bit unsigned integer associated with <paramref name="name">name</paramref>.</returns>
688 <exception cref="T:System.ArgumentNullException"><paramref name="name">name</paramref> is null.</exception>
689 <exception cref="T:System.InvalidCastException">The value associated with <paramref name="name">name</paramref> cannot be converted to a 16-bit unsigned integer.</exception>
690 <exception cref="T:System.Runtime.Serialization.SerializationException">An element with the specified name is not found in the current instance.</exception>
692 <member name="M:System.Runtime.Serialization.SerializationInfo.GetUInt32(System.String)">
693 <summary>Retrieves a 32-bit unsigned integer value from the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
694 <param name="name">The name associated with the value to retrieve.</param>
695 <returns>The 32-bit unsigned integer associated with <paramref name="name">name</paramref>.</returns>
696 <exception cref="T:System.ArgumentNullException"><paramref name="name">name</paramref> is null.</exception>
697 <exception cref="T:System.InvalidCastException">The value associated with <paramref name="name">name</paramref> cannot be converted to a 32-bit unsigned integer.</exception>
698 <exception cref="T:System.Runtime.Serialization.SerializationException">An element with the specified name is not found in the current instance.</exception>
700 <member name="M:System.Runtime.Serialization.SerializationInfo.GetUInt64(System.String)">
701 <summary>Retrieves a 64-bit unsigned integer value from the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
702 <param name="name">The name associated with the value to retrieve.</param>
703 <returns>The 64-bit unsigned integer associated with <paramref name="name">name</paramref>.</returns>
704 <exception cref="T:System.ArgumentNullException"><paramref name="name">name</paramref> is null.</exception>
705 <exception cref="T:System.InvalidCastException">The value associated with <paramref name="name">name</paramref> cannot be converted to a 64-bit unsigned integer.</exception>
706 <exception cref="T:System.Runtime.Serialization.SerializationException">An element with the specified name is not found in the current instance.</exception>
708 <member name="M:System.Runtime.Serialization.SerializationInfo.GetValue(System.String,System.Type)">
709 <summary>Retrieves a value from the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
710 <param name="name">The name associated with the value to retrieve.</param>
711 <param name="type">The <see cref="T:System.Type"></see> of the value to retrieve. If the stored value cannot be converted to this type, the system will throw a <see cref="T:System.InvalidCastException"></see>.</param>
712 <returns>The object of the specified <see cref="System.Type"></see> associated with <paramref name="name">name</paramref>.</returns>
713 <exception cref="T:System.ArgumentNullException"><paramref name="name">name</paramref> or <paramref name="type">type</paramref> is null.</exception>
714 <exception cref="T:System.InvalidCastException">The value associated with <paramref name="name">name</paramref> cannot be converted to <paramref name="type">type</paramref>.</exception>
715 <exception cref="T:System.Runtime.Serialization.SerializationException">An element with the specified name is not found in the current instance.</exception>
717 <member name="P:System.Runtime.Serialization.SerializationInfo.MemberCount">
718 <summary>Gets the number of members that have been added to the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> store.</summary>
719 <returns>The number of members that have been added to the current <see cref="System.Runtime.Serialization.SerializationInfo"></see>.</returns>
721 <member name="P:System.Runtime.Serialization.SerializationInfo.ObjectType">
722 <summary>Returns the type of the object to be serialized.</summary>
723 <returns>The type of the object being serialized.</returns>
725 <member name="M:System.Runtime.Serialization.SerializationInfo.SetType(System.Type)">
726 <summary>Sets the <see cref="T:System.Type"></see> of the object to serialize.</summary>
727 <param name="type">The <see cref="T:System.Type"></see> of the object to serialize.</param>
728 <exception cref="T:System.ArgumentNullException">The <paramref name="type">type</paramref> parameter is null.</exception>
730 <member name="T:System.Runtime.Serialization.SerializationInfoEnumerator">
731 <summary>Provides a formatter-friendly mechanism for parsing the data in <see cref="T:System.Runtime.Serialization.SerializationInfo"></see>. This class cannot be inherited.</summary>
733 <member name="P:System.Runtime.Serialization.SerializationInfoEnumerator.Current">
734 <summary>Gets the item currently being examined.</summary>
735 <returns>The item currently being examined.</returns>
736 <exception cref="T:System.InvalidOperationException">The enumerator has not started enumerating items or has reached the end of the enumeration.</exception>
738 <member name="M:System.Runtime.Serialization.SerializationInfoEnumerator.MoveNext">
739 <summary>Updates the enumerator to the next item.</summary>
740 <returns>true if a new element is found; otherwise, false.</returns>
742 <member name="P:System.Runtime.Serialization.SerializationInfoEnumerator.Name">
743 <summary>Gets the name for the item currently being examined.</summary>
744 <returns>The item name.</returns>
745 <exception cref="T:System.InvalidOperationException">The enumerator has not started enumerating items or has reached the end of the enumeration.</exception>
747 <member name="P:System.Runtime.Serialization.SerializationInfoEnumerator.ObjectType">
748 <summary>Gets the type of the item currently being examined.</summary>
749 <returns>The type of the item currently being examined.</returns>
750 <exception cref="T:System.InvalidOperationException">The enumerator has not started enumerating items or has reached the end of the enumeration.</exception>
752 <member name="M:System.Runtime.Serialization.SerializationInfoEnumerator.Reset">
753 <summary>Resets the enumerator to the first item.</summary>
755 <member name="P:System.Runtime.Serialization.SerializationInfoEnumerator.Value">
756 <summary>Gets the value of the item currently being examined.</summary>
757 <returns>The value of the item currently being examined.</returns>
758 <exception cref="T:System.InvalidOperationException">The enumerator has not started enumerating items or has reached the end of the enumeration.</exception>
760 <member name="P:System.Runtime.Serialization.SerializationInfoEnumerator.System#Collections#IEnumerator#Current">
761 <summary>Gets the current item in the collection.</summary>
762 <returns>A <see cref="System.Runtime.Serialization.SerializationEntry"></see> that contains the current serialization data.</returns>
763 <exception cref="T:System.InvalidOperationException">The enumeration has not started or has already ended.</exception>
765 <member name="T:System.Runtime.Serialization.SerializationObjectManager">
766 <summary>Manages serialization processes at run time. This class cannot be inherited.</summary>
768 <member name="M:System.Runtime.Serialization.SerializationObjectManager.#ctor(System.Runtime.Serialization.StreamingContext)">
769 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.SerializationObjectManager"></see> class.</summary>
770 <param name="context">An instance of the <see cref="T:System.Runtime.Serialization.StreamingContext"></see> class that contains information about the current serialization operation.</param>
772 <member name="M:System.Runtime.Serialization.SerializationObjectManager.RaiseOnSerializedEvent">
773 <summary>Invokes the OnSerializing callback event if the type of the object has one; and registers the object for raising the OnSerialized event if the type of the object has one.</summary>
775 <member name="M:System.Runtime.Serialization.SerializationObjectManager.RegisterObject(System.Object)">
776 <summary>Registers the object upon which events will be raised.</summary>
777 <param name="obj">The object to register.</param>
779 <member name="T:System.Runtime.Serialization.SurrogateSelector">
780 <summary>Assists formatters in selection of the serialization surrogate to delegate the serialization or deserialization process to.</summary>
782 <member name="M:System.Runtime.Serialization.SurrogateSelector.#ctor">
783 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.SurrogateSelector"></see> class.</summary>
785 <member name="M:System.Runtime.Serialization.SurrogateSelector.AddSurrogate(System.Type,System.Runtime.Serialization.StreamingContext,System.Runtime.Serialization.ISerializationSurrogate)">
786 <summary>Adds a surrogate to the list of checked surrogates.</summary>
787 <param name="type">The <see cref="T:System.Type"></see> for which the surrogate is required.</param>
788 <param name="context">The context-specific data.</param>
789 <param name="surrogate">The surrogate to call for this type.</param>
790 <exception cref="T:System.ArgumentNullException">The <paramref name="type">type</paramref> or <paramref name="surrogate">surrogate</paramref> parameter is null.</exception>
791 <exception cref="T:System.ArgumentException">A surrogate already exists for this type and context.</exception>
793 <member name="M:System.Runtime.Serialization.SurrogateSelector.ChainSelector(System.Runtime.Serialization.ISurrogateSelector)">
794 <summary>Adds the specified <see cref="T:System.Runtime.Serialization.ISurrogateSelector"></see> that can handle a particular object type to the list of surrogates.</summary>
795 <param name="selector">The surrogate selector to add.</param>
796 <exception cref="T:System.ArgumentNullException">The <paramref name="selector">selector</paramref> parameter is null.</exception>
797 <exception cref="T:System.Runtime.Serialization.SerializationException">The selector is already on the list of selectors.</exception>
798 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
800 <member name="M:System.Runtime.Serialization.SurrogateSelector.GetNextSelector">
801 <summary>Returns the next selector on the chain of selectors.</summary>
802 <returns>The next <see cref="System.Runtime.Serialization.ISurrogateSelector"></see> on the chain of selectors.</returns>
803 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
805 <member name="M:System.Runtime.Serialization.SurrogateSelector.GetSurrogate(System.Type,System.Runtime.Serialization.StreamingContext,System.Runtime.Serialization.ISurrogateSelector@)">
806 <summary>Returns the surrogate for a particular type.</summary>
807 <param name="type">The <see cref="T:System.Type"></see> for which the surrogate is requested.</param>
808 <param name="context">The streaming context.</param>
809 <param name="selector">The surrogate to use.</param>
810 <returns>The surrogate for a particular type.</returns>
811 <exception cref="T:System.ArgumentNullException">The <paramref name="type">type</paramref> parameter is null.</exception>
812 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
814 <member name="M:System.Runtime.Serialization.SurrogateSelector.RemoveSurrogate(System.Type,System.Runtime.Serialization.StreamingContext)">
815 <summary>Removes the surrogate associated with a given type.</summary>
816 <param name="type">The <see cref="T:System.Type"></see> for which to remove the surrogate.</param>
817 <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"></see> for the current surrogate.</param>
818 <exception cref="T:System.ArgumentNullException">The <paramref name="type">type</paramref> parameter is null.</exception>
820 <member name="T:System.Runtime.Serialization.Formatter">
821 <summary>Provides base functionality for the common language runtime serialization formatters.</summary>
823 <member name="M:System.Runtime.Serialization.Formatter.#ctor">
824 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.Formatter"></see> class.</summary>
826 <member name="P:System.Runtime.Serialization.Formatter.Binder">
827 <summary>When overridden in a derived class, gets or sets the <see cref="T:System.Runtime.Serialization.SerializationBinder"></see> used with the current formatter.</summary>
828 <returns>The <see cref="System.Runtime.Serialization.SerializationBinder"></see> used with the current formatter.</returns>
830 <member name="P:System.Runtime.Serialization.Formatter.Context">
831 <summary>When overridden in a derived class, gets or sets the <see cref="T:System.Runtime.Serialization.StreamingContext"></see> used for the current serialization.</summary>
832 <returns>The <see cref="System.Runtime.Serialization.StreamingContext"></see> used for the current serialization.</returns>
834 <member name="M:System.Runtime.Serialization.Formatter.Deserialize(System.IO.Stream)">
835 <summary>When overridden in a derived class, deserializes the stream attached to the formatter when it was created, creating a graph of objects identical to the graph originally serialized into that stream.</summary>
836 <param name="serializationStream">The stream to deserialize.</param>
837 <returns>The top object of the deserialized graph of objects.</returns>
839 <member name="M:System.Runtime.Serialization.Formatter.GetNext(System.Int64@)">
840 <summary>Returns the next object to serialize, from the formatter&#39;s internal work queue.</summary>
841 <param name="objID">The ID assigned to the current object during serialization.</param>
842 <returns>The next object to serialize.</returns>
843 <exception cref="T:System.Runtime.Serialization.SerializationException">The next object retrieved from the work queue did not have an assigned ID.</exception>
845 <member name="F:System.Runtime.Serialization.Formatter.m_idGenerator">
846 <summary>Contains the <see cref="T:System.Runtime.Serialization.ObjectIDGenerator"></see> used with the current formatter.</summary>
849 <member name="F:System.Runtime.Serialization.Formatter.m_objectQueue">
850 <summary>Contains a <see cref="T:System.Collections.Queue"></see> of the objects left to serialize.</summary>
853 <member name="M:System.Runtime.Serialization.Formatter.Schedule(System.Object)">
854 <summary>Schedules an object for later serialization.</summary>
855 <param name="obj">The object to schedule for serialization.</param>
856 <returns>The object ID assigned to the object.</returns>
858 <member name="M:System.Runtime.Serialization.Formatter.Serialize(System.IO.Stream,System.Object)">
859 <summary>When overridden in a derived class, serializes the graph of objects with the specified root to the stream already attached to the formatter.</summary>
860 <param name="serializationStream">The stream to which the objects are serialized.</param>
861 <param name="graph">The object at the root of the graph to serialize.</param>
863 <member name="P:System.Runtime.Serialization.Formatter.SurrogateSelector">
864 <summary>When overridden in a derived class, gets or sets the <see cref="T:System.Runtime.Serialization.ISurrogateSelector"></see> used with the current formatter.</summary>
865 <returns>The <see cref="System.Runtime.Serialization.ISurrogateSelector"></see> used with the current formatter.</returns>
867 <member name="M:System.Runtime.Serialization.Formatter.WriteArray(System.Object,System.String,System.Type)">
868 <summary>When overridden in a derived class, writes an array to the stream already attached to the formatter.</summary>
869 <param name="obj">The array to write.</param>
870 <param name="name">The name of the array.</param>
871 <param name="memberType">The type of elements that the array holds.</param>
873 <member name="M:System.Runtime.Serialization.Formatter.WriteBoolean(System.Boolean,System.String)">
874 <summary>When overridden in a derived class, writes a Boolean value to the stream already attached to the formatter.</summary>
875 <param name="val">The value to write.</param>
876 <param name="name">The name of the member.</param>
878 <member name="M:System.Runtime.Serialization.Formatter.WriteByte(System.Byte,System.String)">
879 <summary>When overridden in a derived class, writes an 8-bit unsigned integer to the stream already attached to the formatter.</summary>
880 <param name="val">The value to write.</param>
881 <param name="name">The name of the member.</param>
883 <member name="M:System.Runtime.Serialization.Formatter.WriteChar(System.Char,System.String)">
884 <summary>When overridden in a derived class, writes a Unicode character to the stream already attached to the formatter.</summary>
885 <param name="val">The value to write.</param>
886 <param name="name">The name of the member.</param>
888 <member name="M:System.Runtime.Serialization.Formatter.WriteDateTime(System.DateTime,System.String)">
889 <summary>When overridden in a derived class, writes a <see cref="T:System.DateTime"></see> value to the stream already attached to the formatter.</summary>
890 <param name="val">The value to write.</param>
891 <param name="name">The name of the member.</param>
893 <member name="M:System.Runtime.Serialization.Formatter.WriteDecimal(System.Decimal,System.String)">
894 <summary>When overridden in a derived class, writes a <see cref="T:System.Decimal"></see> value to the stream already attached to the formatter.</summary>
895 <param name="val">The value to write.</param>
896 <param name="name">The name of the member.</param>
898 <member name="M:System.Runtime.Serialization.Formatter.WriteDouble(System.Double,System.String)">
899 <summary>When overridden in a derived class, writes a double-precision floating-point number to the stream already attached to the formatter.</summary>
900 <param name="val">The value to write.</param>
901 <param name="name">The name of the member.</param>
903 <member name="M:System.Runtime.Serialization.Formatter.WriteInt16(System.Int16,System.String)">
904 <summary>When overridden in a derived class, writes a 16-bit signed integer to the stream already attached to the formatter.</summary>
905 <param name="val">The value to write.</param>
906 <param name="name">The name of the member.</param>
908 <member name="M:System.Runtime.Serialization.Formatter.WriteInt32(System.Int32,System.String)">
909 <summary>When overridden in a derived class, writes a 32-bit signed integer to the stream.</summary>
910 <param name="val">The value to write.</param>
911 <param name="name">The name of the member.</param>
913 <member name="M:System.Runtime.Serialization.Formatter.WriteInt64(System.Int64,System.String)">
914 <summary>When overridden in a derived class, writes a 64-bit signed integer to the stream.</summary>
915 <param name="val">The value to write.</param>
916 <param name="name">The name of the member.</param>
918 <member name="M:System.Runtime.Serialization.Formatter.WriteMember(System.String,System.Object)">
919 <summary>Inspects the type of data received, and calls the appropriate Write method to perform the write to the stream already attached to the formatter.</summary>
920 <param name="memberName">The name of the member to serialize.</param>
921 <param name="data">The object to write to the stream attached to the formatter.</param>
923 <member name="M:System.Runtime.Serialization.Formatter.WriteObjectRef(System.Object,System.String,System.Type)">
924 <summary>When overridden in a derived class, writes an object reference to the stream already attached to the formatter.</summary>
925 <param name="obj">The object reference to write.</param>
926 <param name="name">The name of the member.</param>
927 <param name="memberType">The type of object the reference points to.</param>
929 <member name="M:System.Runtime.Serialization.Formatter.WriteSByte(System.SByte,System.String)">
930 <summary>When overridden in a derived class, writes an 8-bit signed integer to the stream already attached to the formatter.</summary>
931 <param name="val">The value to write.</param>
932 <param name="name">The name of the member.</param>
934 <member name="M:System.Runtime.Serialization.Formatter.WriteSingle(System.Single,System.String)">
935 <summary>When overridden in a derived class, writes a single-precision floating-point number to the stream already attached to the formatter.</summary>
936 <param name="val">The value to write.</param>
937 <param name="name">The name of the member.</param>
939 <member name="M:System.Runtime.Serialization.Formatter.WriteTimeSpan(System.TimeSpan,System.String)">
940 <summary>When overridden in a derived class, writes a <see cref="T:System.TimeSpan"></see> value to the stream already attached to the formatter.</summary>
941 <param name="val">The value to write.</param>
942 <param name="name">The name of the member.</param>
944 <member name="M:System.Runtime.Serialization.Formatter.WriteUInt16(System.UInt16,System.String)">
945 <summary>When overridden in a derived class, writes a 16-bit unsigned integer to the stream already attached to the formatter.</summary>
946 <param name="val">The value to write.</param>
947 <param name="name">The name of the member.</param>
949 <member name="M:System.Runtime.Serialization.Formatter.WriteUInt32(System.UInt32,System.String)">
950 <summary>When overridden in a derived class, writes a 32-bit unsigned integer to the stream already attached to the formatter.</summary>
951 <param name="val">The value to write.</param>
952 <param name="name">The name of the member.</param>
954 <member name="M:System.Runtime.Serialization.Formatter.WriteUInt64(System.UInt64,System.String)">
955 <summary>When overridden in a derived class, writes a 64-bit unsigned integer to the stream already attached to the formatter.</summary>
956 <param name="val">The value to write.</param>
957 <param name="name">The name of the member.</param>
959 <member name="M:System.Runtime.Serialization.Formatter.WriteValueType(System.Object,System.String,System.Type)">
960 <summary>When overridden in a derived class, writes a value of the given type to the stream already attached to the formatter.</summary>
961 <param name="obj">The object representing the value type.</param>
962 <param name="name">The name of the member.</param>
963 <param name="memberType">The <see cref="T:System.Type"></see> of the value type.</param>
965 <member name="T:System.Runtime.Serialization.FormatterConverter">
966 <summary>Represents a base implementation of the <see cref="T:System.Runtime.Serialization.IFormatterConverter"></see> interface that uses the <see cref="T:System.Convert"></see> class and the <see cref="T:System.IConvertible"></see> interface.</summary>
968 <member name="M:System.Runtime.Serialization.FormatterConverter.#ctor">
969 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.FormatterConverter"></see> class.</summary>
971 <member name="M:System.Runtime.Serialization.FormatterConverter.Convert(System.Object,System.Type)">
972 <summary>Converts a value to the given <see cref="T:System.Type"></see>.</summary>
973 <param name="value">The object to convert.</param>
974 <param name="type">The <see cref="T:System.Type"></see> into which value is converted.</param>
975 <returns>The converted <paramref name="value">value</paramref> or null if the <paramref name="type">type</paramref> parameter is null.</returns>
976 <exception cref="T:System.ArgumentNullException">The <paramref name="value">value</paramref> parameter is null.</exception>
978 <member name="M:System.Runtime.Serialization.FormatterConverter.Convert(System.Object,System.TypeCode)">
979 <summary>Converts a value to the given <see cref="T:System.TypeCode"></see>.</summary>
980 <param name="value">The object to convert.</param>
981 <param name="typeCode">The <see cref="T:System.TypeCode"></see> into which value is converted.</param>
982 <returns>The converted <paramref name="value">value</paramref>, or null if the <paramref name="type">type</paramref> parameter is null.</returns>
983 <exception cref="T:System.ArgumentNullException">The <paramref name="value">value</paramref> parameter is null.</exception>
985 <member name="M:System.Runtime.Serialization.FormatterConverter.ToBoolean(System.Object)">
986 <summary>Converts a value to a <see cref="T:System.Boolean"></see>.</summary>
987 <param name="value">The object to convert.</param>
988 <returns>The converted <paramref name="value">value</paramref> or null if the <paramref name="type">type</paramref> parameter is null.</returns>
989 <exception cref="T:System.ArgumentNullException">The <paramref name="value">value</paramref> parameter is null.</exception>
991 <member name="M:System.Runtime.Serialization.FormatterConverter.ToByte(System.Object)">
992 <summary>Converts a value to an 8-bit unsigned integer.</summary>
993 <param name="value">The object to convert.</param>
994 <returns>The converted <paramref name="value">value</paramref> or null if the <paramref name="type">type</paramref> parameter is null.</returns>
995 <exception cref="T:System.ArgumentNullException">The <paramref name="value">value</paramref> parameter is null.</exception>
997 <member name="M:System.Runtime.Serialization.FormatterConverter.ToChar(System.Object)">
998 <summary>Converts a value to a Unicode character.</summary>
999 <param name="value">The object to convert.</param>
1000 <returns>The converted <paramref name="value">value</paramref> or null if the <paramref name="type">type</paramref> parameter is null.</returns>
1001 <exception cref="T:System.ArgumentNullException">The <paramref name="value">value</paramref> parameter is null.</exception>
1003 <member name="M:System.Runtime.Serialization.FormatterConverter.ToDateTime(System.Object)">
1004 <summary>Converts a value to a <see cref="T:System.DateTime"></see>.</summary>
1005 <param name="value">The object to convert.</param>
1006 <returns>The converted <paramref name="value">value</paramref> or null if the <paramref name="type">type</paramref> parameter is null.</returns>
1007 <exception cref="T:System.ArgumentNullException">The <paramref name="value">value</paramref> parameter is null.</exception>
1009 <member name="M:System.Runtime.Serialization.FormatterConverter.ToDecimal(System.Object)">
1010 <summary>Converts a value to a <see cref="T:System.Decimal"></see>.</summary>
1011 <param name="value">The object to convert.</param>
1012 <returns>The converted <paramref name="value">value</paramref> or null if the <paramref name="type">type</paramref> parameter is null.</returns>
1013 <exception cref="T:System.ArgumentNullException">The <paramref name="value">value</paramref> parameter is null.</exception>
1015 <member name="M:System.Runtime.Serialization.FormatterConverter.ToDouble(System.Object)">
1016 <summary>Converts a value to a double-precision floating-point number.</summary>
1017 <param name="value">The object to convert.</param>
1018 <returns>The converted <paramref name="value">value</paramref> or null if the <paramref name="type">type</paramref> parameter is null.</returns>
1019 <exception cref="T:System.ArgumentNullException">The <paramref name="value">value</paramref> parameter is null.</exception>
1021 <member name="M:System.Runtime.Serialization.FormatterConverter.ToInt16(System.Object)">
1022 <summary>Converts a value to a 16-bit signed integer.</summary>
1023 <param name="value">The object to convert.</param>
1024 <returns>The converted <paramref name="value">value</paramref> or null if the <paramref name="type">type</paramref> parameter is null.</returns>
1025 <exception cref="T:System.ArgumentNullException">The <paramref name="value">value</paramref> parameter is null.</exception>
1027 <member name="M:System.Runtime.Serialization.FormatterConverter.ToInt32(System.Object)">
1028 <summary>Converts a value to a 32-bit signed integer.</summary>
1029 <param name="value">The object to convert.</param>
1030 <returns>The converted <paramref name="value">value</paramref> or null if the <paramref name="type">type</paramref> parameter is null.</returns>
1031 <exception cref="T:System.ArgumentNullException">The <paramref name="value">value</paramref> parameter is null.</exception>
1033 <member name="M:System.Runtime.Serialization.FormatterConverter.ToInt64(System.Object)">
1034 <summary>Converts a value to a 64-bit signed integer.</summary>
1035 <param name="value">The object to convert.</param>
1036 <returns>The converted <paramref name="value">value</paramref> or null if the <paramref name="type">type</paramref> parameter is null.</returns>
1037 <exception cref="T:System.ArgumentNullException">The <paramref name="value">value</paramref> parameter is null.</exception>
1039 <member name="M:System.Runtime.Serialization.FormatterConverter.ToSByte(System.Object)">
1040 <summary>Converts a value to a <see cref="T:System.SByte"></see>.</summary>
1041 <param name="value">The object to convert.</param>
1042 <returns>The converted <paramref name="value">value</paramref> or null if the <paramref name="type">type</paramref> parameter is null.</returns>
1043 <exception cref="T:System.ArgumentNullException">The <paramref name="value">value</paramref> parameter is null.</exception>
1045 <member name="M:System.Runtime.Serialization.FormatterConverter.ToSingle(System.Object)">
1046 <summary>Converts a value to a single-precision floating-point number.</summary>
1047 <param name="value">The object to convert.</param>
1048 <returns>The converted <paramref name="value">value</paramref> or null if the <paramref name="type">type</paramref> parameter is null.</returns>
1049 <exception cref="T:System.ArgumentNullException">The <paramref name="value">value</paramref> parameter is null.</exception>
1051 <member name="M:System.Runtime.Serialization.FormatterConverter.ToString(System.Object)">
1052 <summary>Converts the specified object to a <see cref="T:System.String"></see>.</summary>
1053 <param name="value">The object to convert.</param>
1054 <returns>The converted <paramref name="value">value</paramref> or null if the <paramref name="type">type</paramref> parameter is null.</returns>
1055 <exception cref="T:System.ArgumentNullException">The <paramref name="value">value</paramref> parameter is null.</exception>
1057 <member name="M:System.Runtime.Serialization.FormatterConverter.ToUInt16(System.Object)">
1058 <summary>Converts a value to a 16-bit unsigned integer.</summary>
1059 <param name="value">The object to convert.</param>
1060 <returns>The converted <paramref name="value">value</paramref> or null if the <paramref name="type">type</paramref> parameter is null.</returns>
1061 <exception cref="T:System.ArgumentNullException">The <paramref name="value">value</paramref> parameter is null.</exception>
1063 <member name="M:System.Runtime.Serialization.FormatterConverter.ToUInt32(System.Object)">
1064 <summary>Converts a value to a 32-bit unsigned integer.</summary>
1065 <param name="value">The object to convert.</param>
1066 <returns>The converted <paramref name="value">value</paramref> or null if the <paramref name="type">type</paramref> parameter is null.</returns>
1067 <exception cref="T:System.ArgumentNullException">The <paramref name="value">value</paramref> parameter is null.</exception>
1069 <member name="M:System.Runtime.Serialization.FormatterConverter.ToUInt64(System.Object)">
1070 <summary>Converts a value to a 64-bit unsigned integer.</summary>
1071 <param name="value">The object to convert.</param>
1072 <returns>The converted <paramref name="value">value</paramref> or null if the <paramref name="type">type</paramref> parameter is null.</returns>
1073 <exception cref="T:System.ArgumentNullException">The <paramref name="value">value</paramref> parameter is null.</exception>
1075 <member name="T:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter">
1076 <summary>Serializes and deserializes an object, or an entire graph of connected objects, in binary format.</summary>
1078 <member name="M:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.#ctor">
1079 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter"></see> class with default values.</summary>
1081 <member name="M:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.#ctor(System.Runtime.Serialization.ISurrogateSelector,System.Runtime.Serialization.StreamingContext)">
1082 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter"></see> class with a given surrogate selector and streaming context.</summary>
1083 <param name="selector">The <see cref="T:System.Runtime.Serialization.ISurrogateSelector"></see> to use. Can be null.</param>
1084 <param name="context">The source and destination for the serialized data.</param>
1086 <member name="P:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.AssemblyFormat">
1087 <summary>Gets or sets the behavior of the deserializer with regards to finding and loading assemblies.</summary>
1088 <returns>One of the <see cref="System.Runtime.Serialization.Formatters.FormatterAssemblyStyle"></see> values that specifies the deserializer behavior.</returns>
1090 <member name="P:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Binder">
1091 <summary>Gets or sets an object of type <see cref="T:System.Runtime.Serialization.SerializationBinder"></see> that controls the binding of a serialized object to a type.</summary>
1092 <returns>The serialization binder to use with this formatter.</returns>
1094 <member name="P:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Context">
1095 <summary>Gets or sets the <see cref="T:System.Runtime.Serialization.StreamingContext"></see> for this formatter.</summary>
1096 <returns>The streaming context to use with this formatter.</returns>
1098 <member name="M:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(System.IO.Stream)">
1099 <summary>Deserializes the specified stream into an object graph.</summary>
1100 <param name="serializationStream">The stream from which to deserialize the object graph.</param>
1101 <returns>The top (root) of the object graph.</returns>
1102 <exception cref="T:System.ArgumentNullException">The <paramref name="serializationStream">serializationStream</paramref> is null.</exception>
1103 <exception cref="T:System.Runtime.Serialization.SerializationException">The <paramref name="serializationStream">serializationStream</paramref> supports seeking, but its length is 0.
1105 The target type is a <see cref="System.Decimal"></see>, but the value is out of range of the <see cref="System.Decimal"></see> type.</exception>
1106 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
1108 <member name="P:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.FilterLevel">
1109 <summary>Gets or sets the <see cref="T:System.Runtime.Serialization.Formatters.TypeFilterLevel"></see> of automatic deserialization the <see cref="T:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter"></see> performs.</summary>
1110 <returns>The <see cref="System.Runtime.Serialization.Formatters.TypeFilterLevel"></see> that represents the current automatic deserialization level.</returns>
1112 <member name="M:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(System.IO.Stream,System.Object)">
1113 <summary>Serializes the object, or graph of objects with the specified top (root), to the given stream.</summary>
1114 <param name="serializationStream">The stream to which the graph is to be serialized.</param>
1115 <param name="graph">The object at the root of the graph to serialize.</param>
1116 <exception cref="T:System.ArgumentNullException">The <paramref name="serializationStream">serializationStream</paramref> is null.
1118 The <paramref name="graph">graph</paramref> is null.</exception>
1119 <exception cref="T:System.Runtime.Serialization.SerializationException">An error has occurred during serialization, such as if an object in the <paramref name="graph">graph</paramref> parameter is not marked as serializable.</exception>
1120 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
1122 <member name="P:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.SurrogateSelector">
1123 <summary>Gets or sets a <see cref="T:System.Runtime.Serialization.ISurrogateSelector"></see> that controls type substitution during serialization and deserialization.</summary>
1124 <returns>The surrogate selector to use with this formatter.</returns>
1126 <member name="P:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.TypeFormat">
1127 <summary>Gets or sets the format in which type descriptions are laid out in the serialized stream.</summary>
1128 <returns>The style of type layouts to use.</returns>
1130 <member name="T:System.SerializableAttribute">
1131 <summary>Indicates that a class can be serialized. This class cannot be inherited.</summary>
1133 <member name="M:System.SerializableAttribute.#ctor">
1134 <summary>Initializes a new instance of the <see cref="T:System.SerializableAttribute"></see> class.</summary>
1136 <member name="T:System.NonSerializedAttribute">
1137 <summary>Indicates that a field of a serializable class should not be serialized. This class cannot be inherited.</summary>
1139 <member name="M:System.NonSerializedAttribute.#ctor">
1140 <summary>Initializes a new instance of the <see cref="T:System.NonSerializedAttribute"></see> class.</summary>