1 <?xml version="1.0" encoding="utf-8"?><span>
\r
4 <name>System.Runtime.Serialization.Primitives</name>
\r
7 <member name="T:System.Runtime.Serialization.DataMemberAttribute">
\r
8 <summary>When applied to the member of a type, specifies that the member is part of a data contract and is serializable by the <see cref="T:System.Runtime.Serialization.DataContractSerializer"></see>.</summary>
\r
10 <member name="M:System.Runtime.Serialization.DataMemberAttribute.#ctor">
\r
11 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.DataMemberAttribute"></see> class.</summary>
\r
13 <member name="P:System.Runtime.Serialization.DataMemberAttribute.EmitDefaultValue">
\r
14 <summary>Gets or sets a value that specifies whether to serialize the default value for a field or property being serialized.</summary>
\r
15 <returns>true if the default value for a member should be generated in the serialization stream; otherwise, false. The default is true.</returns>
\r
17 <member name="P:System.Runtime.Serialization.DataMemberAttribute.IsNameSetExplicitly">
\r
18 <summary>Gets whether <see cref="P:System.Runtime.Serialization.DataMemberAttribute.Name"></see> has been explicitly set.</summary>
\r
19 <returns>Returns true if the name has been explicitly set; otherwise, false.</returns>
\r
21 <member name="P:System.Runtime.Serialization.DataMemberAttribute.IsRequired">
\r
22 <summary>Gets or sets a value that instructs the serialization engine that the member must be present when reading or deserializing.</summary>
\r
23 <returns>true, if the member is required; otherwise, false.</returns>
\r
24 <exception cref="T:System.Runtime.Serialization.SerializationException">the member is not present.</exception>
\r
26 <member name="P:System.Runtime.Serialization.DataMemberAttribute.Name">
\r
27 <summary>Gets or sets a data member name.</summary>
\r
28 <returns>The name of the data member. The default is the name of the target that the attribute is applied to.</returns>
\r
30 <member name="P:System.Runtime.Serialization.DataMemberAttribute.Order">
\r
31 <summary>Gets or sets the order of serialization and deserialization of a member.</summary>
\r
32 <returns>The numeric order of serialization or deserialization.</returns>
\r
34 <member name="T:System.Runtime.Serialization.EnumMemberAttribute">
\r
35 <summary>Specifies that the field is an enumeration member and should be serialized.</summary>
\r
37 <member name="M:System.Runtime.Serialization.EnumMemberAttribute.#ctor">
\r
38 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.EnumMemberAttribute"></see> class.</summary>
\r
40 <member name="P:System.Runtime.Serialization.EnumMemberAttribute.IsValueSetExplicitly">
\r
41 <summary>Gets whether the <see cref="P:System.Runtime.Serialization.EnumMemberAttribute.Value"></see> has been explicitly set.</summary>
\r
42 <returns>true if the value has been explicitly set; otherwise, false.</returns>
\r
44 <member name="P:System.Runtime.Serialization.EnumMemberAttribute.Value">
\r
45 <summary>Gets or sets the value associated with the enumeration member the attribute is applied to.</summary>
\r
46 <returns>The value associated with the enumeration member.</returns>
\r
48 <member name="T:System.Runtime.Serialization.IgnoreDataMemberAttribute">
\r
49 <summary>When applied to the member of a type, specifies that the member is not part of a data contract and is not serialized.</summary>
\r
51 <member name="M:System.Runtime.Serialization.IgnoreDataMemberAttribute.#ctor">
\r
52 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.IgnoreDataMemberAttribute"></see> class.</summary>
\r
54 <member name="T:System.Runtime.Serialization.InvalidDataContractException">
\r
55 <summary>The exception that is thrown when the <see cref="T:System.Runtime.Serialization.DataContractSerializer"></see> or <see cref="T:System.Runtime.Serialization.NetDataContractSerializer"></see> encounters an invalid data contract during serialization and deserialization.</summary>
\r
57 <member name="M:System.Runtime.Serialization.InvalidDataContractException.#ctor">
\r
58 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.InvalidDataContractException"></see> class.</summary>
\r
60 <member name="M:System.Runtime.Serialization.InvalidDataContractException.#ctor(System.String)">
\r
61 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.InvalidDataContractException"></see> class with the specified error message.</summary>
\r
62 <param name="message">A description of the error.</param>
\r
64 <member name="M:System.Runtime.Serialization.InvalidDataContractException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
\r
65 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.InvalidDataContractException"></see> class with the specified <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> and <see cref="T:System.Runtime.Serialization.StreamingContext"></see>.</summary>
\r
66 <param name="info">A <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> that contains data needed to serialize and deserialize an object.</param>
\r
67 <param name="context">A <see cref="T:System.Runtime.Serialization.StreamingContext"></see> that specifies user context during serialization and deserialization.</param>
\r
69 <member name="M:System.Runtime.Serialization.InvalidDataContractException.#ctor(System.String,System.Exception)">
\r
70 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.InvalidDataContractException"></see> class with the specified error message and inner exception.</summary>
\r
71 <param name="message">A description of the error.</param>
\r
72 <param name="innerException">The original <see cref="T:System.Exception"></see>.</param>
\r
74 <member name="T:System.Runtime.Serialization.ISerializationSurrogateProvider">
\r
77 <member name="M:System.Runtime.Serialization.ISerializationSurrogateProvider.GetDeserializedObject(System.Object,System.Type)">
\r
78 <param name="obj"></param>
\r
79 <param name="targetType"></param>
\r
82 <member name="M:System.Runtime.Serialization.ISerializationSurrogateProvider.GetObjectToSerialize(System.Object,System.Type)">
\r
83 <param name="obj"></param>
\r
84 <param name="targetType"></param>
\r
87 <member name="M:System.Runtime.Serialization.ISerializationSurrogateProvider.GetSurrogateType(System.Type)">
\r
88 <param name="type"></param>
\r
91 <member name="T:System.Runtime.Serialization.KnownTypeAttribute">
\r
92 <summary>Specifies types that should be recognized by the <see cref="T:System.Runtime.Serialization.DataContractSerializer"></see> when serializing or deserializing a given type.</summary>
\r
94 <member name="M:System.Runtime.Serialization.KnownTypeAttribute.#ctor(System.String)">
\r
95 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.KnownTypeAttribute"></see> class with the name of a method that returns an <see cref="T:System.Collections.IEnumerable"></see> of known types.</summary>
\r
96 <param name="methodName">The name of the method that returns an <see cref="T:System.Collections.IEnumerable"></see> of types used when serializing or deserializing data.</param>
\r
98 <member name="M:System.Runtime.Serialization.KnownTypeAttribute.#ctor(System.Type)">
\r
99 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.KnownTypeAttribute"></see> class with the specified type.</summary>
\r
100 <param name="type">The <see cref="T:System.Type"></see> that is included as a known type when serializing or deserializing data.</param>
\r
102 <member name="P:System.Runtime.Serialization.KnownTypeAttribute.MethodName">
\r
103 <summary>Gets the name of a method that will return a list of types that should be recognized during serialization or deserialization.</summary>
\r
104 <returns>A <see cref="T:System.String"></see> that contains the name of the method on the type defined by the <see cref="T:System.Runtime.Serialization.KnownTypeAttribute"></see> class.</returns>
\r
106 <member name="P:System.Runtime.Serialization.KnownTypeAttribute.Type">
\r
107 <summary>Gets the type that should be recognized during serialization or deserialization by the <see cref="T:System.Runtime.Serialization.DataContractSerializer"></see>.</summary>
\r
108 <returns>The <see cref="T:System.Type"></see> that is used during serialization or deserialization.</returns>
\r
110 <member name="T:System.Runtime.Serialization.OnDeserializedAttribute">
\r
111 <summary>When applied to a method, specifies that the method is called immediately after deserialization of an object in an object graph. The order of deserialization relative to other objects in the graph is non-deterministic.</summary>
\r
113 <member name="M:System.Runtime.Serialization.OnDeserializedAttribute.#ctor">
\r
114 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.OnDeserializedAttribute"></see> class.</summary>
\r
116 <member name="T:System.Runtime.Serialization.OnDeserializingAttribute">
\r
117 <summary>When applied to a method, specifies that the method is called during deserialization of an object in an object graph. The order of deserialization relative to other objects in the graph is non-deterministic.</summary>
\r
119 <member name="M:System.Runtime.Serialization.OnDeserializingAttribute.#ctor">
\r
120 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.OnDeserializingAttribute"></see> class.</summary>
\r
122 <member name="T:System.Runtime.Serialization.OnSerializedAttribute">
\r
123 <summary>When applied to a method, specifies that the method is called after serialization of an object in an object graph. The order of serialization relative to other objects in the graph is non-deterministic.</summary>
\r
125 <member name="M:System.Runtime.Serialization.OnSerializedAttribute.#ctor">
\r
126 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.OnSerializedAttribute"></see> class.</summary>
\r
128 <member name="T:System.Runtime.Serialization.OnSerializingAttribute">
\r
129 <summary>When applied to a method, specifies that the method is during serialization of an object in an object graph. The order of serialization relative to other objects in the graph is non-deterministic.</summary>
\r
131 <member name="M:System.Runtime.Serialization.OnSerializingAttribute.#ctor">
\r
132 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.OnSerializingAttribute"></see> class.</summary>
\r
134 <member name="T:System.Runtime.Serialization.SerializationException">
\r
135 <summary>The exception thrown when an error occurs during serialization or deserialization.</summary>
\r
137 <member name="M:System.Runtime.Serialization.SerializationException.#ctor">
\r
138 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.SerializationException"></see> class with default properties.</summary>
\r
140 <member name="M:System.Runtime.Serialization.SerializationException.#ctor(System.String)">
\r
141 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.SerializationException"></see> class with a specified message.</summary>
\r
142 <param name="message">Indicates the reason why the exception occurred.</param>
\r
144 <member name="M:System.Runtime.Serialization.SerializationException.#ctor(System.String,System.Exception)">
\r
145 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.SerializationException"></see> class with a specified error message and a reference to the inner exception that is the cause of this exception.</summary>
\r
146 <param name="message">The error message that explains the reason for the exception.</param>
\r
147 <param name="innerException">The exception that is the cause of the current exception. If the innerException parameter is not null, the current exception is raised in a catch block that handles the inner exception.</param>
\r
149 <member name="T:System.Runtime.Serialization.StreamingContext">
\r
150 <summary>Describes the source and destination of a given serialized stream, and provides an additional caller-defined context.</summary>
\r
152 <member name="M:System.Runtime.Serialization.StreamingContext.Equals(System.Object)">
\r
153 <summary>Determines whether two <see cref="T:System.Runtime.Serialization.StreamingContext"></see> instances contain the same values.</summary>
\r
154 <param name="obj">An object to compare with the current instance.</param>
\r
155 <returns>true if the specified object is an instance of <see cref="T:System.Runtime.Serialization.StreamingContext"></see> and equals the value of the current instance; otherwise, false.</returns>
\r
157 <member name="M:System.Runtime.Serialization.StreamingContext.GetHashCode">
\r
158 <summary>Returns a hash code of this object.</summary>
\r
159 <returns>The <see cref="T:System.Runtime.Serialization.StreamingContextStates"></see> value that contains the source or destination of the serialization for this <see cref="T:System.Runtime.Serialization.StreamingContext"></see>.</returns>
\r
161 <member name="T:System.Runtime.Serialization.CollectionDataContractAttribute">
\r
162 <summary>When applied to a collection type, enables custom specification of the collection item elements. This attribute can be applied only to types that are recognized by the <see cref="T:System.Runtime.Serialization.DataContractSerializer"></see> as valid, serializable collections.</summary>
\r
164 <member name="M:System.Runtime.Serialization.CollectionDataContractAttribute.#ctor">
\r
165 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.CollectionDataContractAttribute"></see> class.</summary>
\r
167 <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.IsItemNameSetExplicitly">
\r
168 <summary>Gets whether <see cref="P:System.Runtime.Serialization.CollectionDataContractAttribute.ItemName"></see> has been explicitly set.</summary>
\r
169 <returns>Returns true if the item name has been explicitly set; otherwise, false.</returns>
\r
171 <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.IsKeyNameSetExplicitly">
\r
172 <summary>Gets whether <see cref="P:System.Runtime.Serialization.CollectionDataContractAttribute.KeyName"></see> has been explicitly set.</summary>
\r
173 <returns>Returns true if the key name has been explicitly set; otherwise, false.</returns>
\r
175 <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.IsNameSetExplicitly">
\r
176 <summary>Gets whether <see cref="P:System.Runtime.Serialization.CollectionDataContractAttribute.Name"></see> has been explicitly set.</summary>
\r
177 <returns>Returns true if the name has been explicitly set; otherwise, false.</returns>
\r
179 <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.IsNamespaceSetExplicitly">
\r
180 <summary>Gets whether <see cref="P:System.Runtime.Serialization.CollectionDataContractAttribute.Namespace"></see> has been explicitly set.</summary>
\r
181 <returns>Returns true if the item namespace has been explicitly set; otherwise, false.</returns>
\r
183 <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.IsReference">
\r
184 <summary>Gets or sets a value that indicates whether to preserve object reference data.</summary>
\r
185 <returns>true to keep object reference data; otherwise, false. The default is false.</returns>
\r
187 <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.IsReferenceSetExplicitly">
\r
188 <summary>Gets whether reference has been explicitly set.</summary>
\r
189 <returns>Returns true if the reference has been explicitly set; otherwise, false.</returns>
\r
191 <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.IsValueNameSetExplicitly">
\r
192 <summary>Gets whether <see cref="P:System.Runtime.Serialization.CollectionDataContractAttribute.ValueName"></see> has been explicitly set.</summary>
\r
193 <returns>Returns true if the value name has been explicitly set; otherwise, false.</returns>
\r
195 <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.ItemName">
\r
196 <summary>Gets or sets a custom name for a collection element.</summary>
\r
197 <returns>The name to apply to collection elements.</returns>
\r
199 <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.KeyName">
\r
200 <summary>Gets or sets the custom name for a dictionary key name.</summary>
\r
201 <returns>The name to use instead of the default dictionary key name.</returns>
\r
203 <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.Name">
\r
204 <summary>Gets or sets the data contract name for the collection type.</summary>
\r
205 <returns>The data contract name for the collection type.</returns>
\r
207 <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.Namespace">
\r
208 <summary>Gets or sets the namespace for the data contract.</summary>
\r
209 <returns>The namespace of the data contract.</returns>
\r
211 <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.ValueName">
\r
212 <summary>Gets or sets the custom name for a dictionary value name.</summary>
\r
213 <returns>The name to use instead of the default dictionary value name.</returns>
\r
215 <member name="T:System.Runtime.Serialization.ContractNamespaceAttribute">
\r
216 <summary>Specifies the CLR namespace and XML namespace of the data contract.</summary>
\r
218 <member name="M:System.Runtime.Serialization.ContractNamespaceAttribute.#ctor(System.String)">
\r
219 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.ContractNamespaceAttribute"></see> class using the supplied namespace.</summary>
\r
220 <param name="contractNamespace">The namespace of the contract.</param>
\r
222 <member name="P:System.Runtime.Serialization.ContractNamespaceAttribute.ClrNamespace">
\r
223 <summary>Gets or sets the CLR namespace of the data contract type.</summary>
\r
224 <returns>The CLR-legal namespace of a type.</returns>
\r
226 <member name="P:System.Runtime.Serialization.ContractNamespaceAttribute.ContractNamespace">
\r
227 <summary>Gets the namespace of the data contract members.</summary>
\r
228 <returns>The namespace of the data contract members.</returns>
\r
230 <member name="T:System.Runtime.Serialization.DataContractAttribute">
\r
231 <summary>Specifies that the type defines or implements a data contract and is serializable by a serializer, such as the <see cref="T:System.Runtime.Serialization.DataContractSerializer"></see>. To make their type serializable, type authors must define a data contract for their type.</summary>
\r
233 <member name="M:System.Runtime.Serialization.DataContractAttribute.#ctor">
\r
234 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.DataContractAttribute"></see> class.</summary>
\r
236 <member name="P:System.Runtime.Serialization.DataContractAttribute.IsNameSetExplicitly">
\r
237 <summary>Gets whether <see cref="P:System.Runtime.Serialization.DataContractAttribute.Name"></see> has been explicitly set.</summary>
\r
238 <returns>Returns true if the name has been explicitly set; otherwise, false.</returns>
\r
240 <member name="P:System.Runtime.Serialization.DataContractAttribute.IsNamespaceSetExplicitly">
\r
241 <summary>Gets whether <see cref="P:System.Runtime.Serialization.DataContractAttribute.Namespace"></see> has been explicitly set.</summary>
\r
242 <returns>Returns true if the namespace has been explicitly set; otherwise, false.</returns>
\r
244 <member name="P:System.Runtime.Serialization.DataContractAttribute.IsReference">
\r
245 <summary>Gets or sets a value that indicates whether to preserve object reference data.</summary>
\r
246 <returns>true to keep object reference data using standard XML; otherwise, false. The default is false.</returns>
\r
248 <member name="P:System.Runtime.Serialization.DataContractAttribute.IsReferenceSetExplicitly">
\r
249 <summary>Gets whether <see cref="P:System.Runtime.Serialization.DataContractAttribute.IsReference"></see> has been explicitly set.</summary>
\r
250 <returns>true if the reference has been explicitly set; otherwise, false.</returns>
\r
252 <member name="P:System.Runtime.Serialization.DataContractAttribute.Name">
\r
253 <summary>Gets or sets the name of the data contract for the type.</summary>
\r
254 <returns>The local name of a data contract. The default is the name of the class that the attribute is applied to.</returns>
\r
256 <member name="P:System.Runtime.Serialization.DataContractAttribute.Namespace">
\r
257 <summary>Gets or sets the namespace for the data contract for the type.</summary>
\r
258 <returns>The namespace of the contract.</returns>
\r