1 <?xml version="1.0" encoding="utf-8"?>
\r
4 <name>System.Runtime.Serialization.Primitives</name>
\r
7 <member name="T:System.Runtime.Serialization.CollectionDataContractAttribute">
\r
8 <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" /> as valid, serializable collections. </summary>
\r
10 <member name="M:System.Runtime.Serialization.CollectionDataContractAttribute.#ctor">
\r
11 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.CollectionDataContractAttribute" /> class. </summary>
\r
13 <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.IsItemNameSetExplicitly"></member>
\r
14 <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.IsKeyNameSetExplicitly"></member>
\r
15 <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.IsNameSetExplicitly"></member>
\r
16 <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.IsNamespaceSetExplicitly"></member>
\r
17 <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.IsReference">
\r
18 <summary>Gets or sets a value that indicates whether to preserve object reference data.</summary>
\r
19 <returns>true to keep object reference data; otherwise, false. The default is false.</returns>
\r
21 <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.IsReferenceSetExplicitly"></member>
\r
22 <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.IsValueNameSetExplicitly"></member>
\r
23 <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.ItemName">
\r
24 <summary>Gets or sets a custom name for a collection element.</summary>
\r
25 <returns>The name to apply to collection elements.</returns>
\r
27 <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.KeyName">
\r
28 <summary>Gets or sets the custom name for a dictionary key name.</summary>
\r
29 <returns>The name to use instead of the default dictionary key name.</returns>
\r
31 <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.Name">
\r
32 <summary>Gets or sets the data contract name for the collection type.</summary>
\r
33 <returns>The data contract name for the collection type.</returns>
\r
35 <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.Namespace">
\r
36 <summary>Gets or sets the namespace for the data contract.</summary>
\r
37 <returns>The namespace of the data contract.</returns>
\r
39 <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.ValueName">
\r
40 <summary>Gets or sets the custom name for a dictionary value name.</summary>
\r
41 <returns>The name to use instead of the default dictionary value name.</returns>
\r
43 <member name="T:System.Runtime.Serialization.ContractNamespaceAttribute">
\r
44 <summary>Specifies the CLR namespace and XML namespace of the data contract. </summary>
\r
46 <member name="M:System.Runtime.Serialization.ContractNamespaceAttribute.#ctor(System.String)">
\r
47 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.ContractNamespaceAttribute" /> class using the supplied namespace. </summary>
\r
48 <param name="contractNamespace">The namespace of the contract.</param>
\r
50 <member name="P:System.Runtime.Serialization.ContractNamespaceAttribute.ClrNamespace">
\r
51 <summary>Gets or sets the CLR namespace of the data contract type. </summary>
\r
52 <returns>The CLR-legal namespace of a type.</returns>
\r
54 <member name="P:System.Runtime.Serialization.ContractNamespaceAttribute.ContractNamespace">
\r
55 <summary>Gets the namespace of the data contract members.</summary>
\r
56 <returns>The namespace of the data contract members.</returns>
\r
58 <member name="T:System.Runtime.Serialization.DataContractAttribute">
\r
59 <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" />. To make their type serializable, type authors must define a data contract for their type. </summary>
\r
61 <member name="M:System.Runtime.Serialization.DataContractAttribute.#ctor">
\r
62 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.DataContractAttribute" /> class. </summary>
\r
64 <member name="P:System.Runtime.Serialization.DataContractAttribute.IsNameSetExplicitly"></member>
\r
65 <member name="P:System.Runtime.Serialization.DataContractAttribute.IsNamespaceSetExplicitly"></member>
\r
66 <member name="P:System.Runtime.Serialization.DataContractAttribute.IsReference">
\r
67 <summary>Gets or sets a value that indicates whether to preserve object reference data.</summary>
\r
68 <returns>true to keep object reference data using standard XML; otherwise, false. The default is false.</returns>
\r
70 <member name="P:System.Runtime.Serialization.DataContractAttribute.IsReferenceSetExplicitly"></member>
\r
71 <member name="P:System.Runtime.Serialization.DataContractAttribute.Name">
\r
72 <summary>Gets or sets the name of the data contract for the type.</summary>
\r
73 <returns>The local name of a data contract. The default is the name of the class that the attribute is applied to. </returns>
\r
75 <member name="P:System.Runtime.Serialization.DataContractAttribute.Namespace">
\r
76 <summary>Gets or sets the namespace for the data contract for the type.</summary>
\r
77 <returns>The namespace of the contract. </returns>
\r
79 <member name="T:System.Runtime.Serialization.DataMemberAttribute">
\r
80 <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" />.</summary>
\r
82 <member name="M:System.Runtime.Serialization.DataMemberAttribute.#ctor">
\r
83 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.DataMemberAttribute" /> class. </summary>
\r
85 <member name="P:System.Runtime.Serialization.DataMemberAttribute.EmitDefaultValue">
\r
86 <summary>Gets or sets a value that specifies whether to serialize the default value for a field or property being serialized. </summary>
\r
87 <returns>true if the default value for a member should be generated in the serialization stream; otherwise, false. The default is true.</returns>
\r
89 <member name="P:System.Runtime.Serialization.DataMemberAttribute.IsNameSetExplicitly"></member>
\r
90 <member name="P:System.Runtime.Serialization.DataMemberAttribute.IsRequired">
\r
91 <summary>Gets or sets a value that instructs the serialization engine that the member must be present when reading or deserializing.</summary>
\r
92 <returns>true, if the member is required; otherwise, false.</returns>
\r
93 <exception cref="T:System.Runtime.Serialization.SerializationException">the member is not present.</exception>
\r
95 <member name="P:System.Runtime.Serialization.DataMemberAttribute.Name">
\r
96 <summary>Gets or sets a data member name. </summary>
\r
97 <returns>The name of the data member. The default is the name of the target that the attribute is applied to. </returns>
\r
99 <member name="P:System.Runtime.Serialization.DataMemberAttribute.Order">
\r
100 <summary>Gets or sets the order of serialization and deserialization of a member.</summary>
\r
101 <returns>The numeric order of serialization or deserialization.</returns>
\r
103 <member name="T:System.Runtime.Serialization.EnumMemberAttribute">
\r
104 <summary>Specifies that the field is an enumeration member and should be serialized.</summary>
\r
106 <member name="M:System.Runtime.Serialization.EnumMemberAttribute.#ctor">
\r
107 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.EnumMemberAttribute" /> class. </summary>
\r
109 <member name="P:System.Runtime.Serialization.EnumMemberAttribute.IsValueSetExplicitly"></member>
\r
110 <member name="P:System.Runtime.Serialization.EnumMemberAttribute.Value">
\r
111 <summary>Gets or sets the value associated with the enumeration member the attribute is applied to. </summary>
\r
112 <returns>The value associated with the enumeration member.</returns>
\r
114 <member name="T:System.Runtime.Serialization.IgnoreDataMemberAttribute">
\r
115 <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
117 <member name="M:System.Runtime.Serialization.IgnoreDataMemberAttribute.#ctor">
\r
118 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.IgnoreDataMemberAttribute" /> class. </summary>
\r
120 <member name="T:System.Runtime.Serialization.InvalidDataContractException">
\r
121 <summary>The exception that is thrown when the <see cref="T:System.Runtime.Serialization.DataContractSerializer" /> or <see cref="T:System.Runtime.Serialization.NetDataContractSerializer" /> encounters an invalid data contract during serialization and deserialization. </summary>
\r
123 <member name="M:System.Runtime.Serialization.InvalidDataContractException.#ctor">
\r
124 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.InvalidDataContractException" /> class. </summary>
\r
126 <member name="M:System.Runtime.Serialization.InvalidDataContractException.#ctor(System.String)">
\r
127 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.InvalidDataContractException" /> class with the specified error message. </summary>
\r
128 <param name="message">A description of the error. </param>
\r
130 <member name="M:System.Runtime.Serialization.InvalidDataContractException.#ctor(System.String,System.Exception)">
\r
131 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.InvalidDataContractException" /> class with the specified error message and inner exception. </summary>
\r
132 <param name="message">A description of the error. </param>
\r
133 <param name="innerException">The original <see cref="T:System.Exception" />. </param>
\r
135 <member name="T:System.Runtime.Serialization.KnownTypeAttribute">
\r
136 <summary>Specifies types that should be recognized by the <see cref="T:System.Runtime.Serialization.DataContractSerializer" /> when serializing or deserializing a given type. </summary>
\r
138 <member name="M:System.Runtime.Serialization.KnownTypeAttribute.#ctor(System.String)">
\r
139 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.KnownTypeAttribute" /> class with the name of a method that returns an <see cref="T:System.Collections.IEnumerable" /> of known types. </summary>
\r
140 <param name="methodName">The name of the method that returns an <see cref="T:System.Collections.IEnumerable" /> of types used when serializing or deserializing data.</param>
\r
142 <member name="M:System.Runtime.Serialization.KnownTypeAttribute.#ctor(System.Type)">
\r
143 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.KnownTypeAttribute" /> class with the specified type. </summary>
\r
144 <param name="type">The <see cref="T:System.Type" /> that is included as a known type when serializing or deserializing data.</param>
\r
146 <member name="P:System.Runtime.Serialization.KnownTypeAttribute.MethodName">
\r
147 <summary>Gets the name of a method that will return a list of types that should be recognized during serialization or deserialization. </summary>
\r
148 <returns>A <see cref="T:System.String" /> that contains the name of the method on the type defined by the <see cref="T:System.Runtime.Serialization.KnownTypeAttribute" /> class. </returns>
\r
150 <member name="P:System.Runtime.Serialization.KnownTypeAttribute.Type">
\r
151 <summary>Gets the type that should be recognized during serialization or deserialization by the <see cref="T:System.Runtime.Serialization.DataContractSerializer" />. </summary>
\r
152 <returns>The <see cref="T:System.Type" /> that is used during serialization or deserialization. </returns>
\r
154 <member name="T:System.Runtime.Serialization.OnDeserializedAttribute">
\r
155 <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
157 <member name="M:System.Runtime.Serialization.OnDeserializedAttribute.#ctor">
\r
158 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.OnDeserializedAttribute" /> class. </summary>
\r
160 <member name="T:System.Runtime.Serialization.OnDeserializingAttribute">
\r
161 <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
163 <member name="M:System.Runtime.Serialization.OnDeserializingAttribute.#ctor">
\r
164 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.OnDeserializingAttribute" /> class. </summary>
\r
166 <member name="T:System.Runtime.Serialization.OnSerializedAttribute">
\r
167 <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
169 <member name="M:System.Runtime.Serialization.OnSerializedAttribute.#ctor">
\r
170 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.OnSerializedAttribute" /> class. </summary>
\r
172 <member name="T:System.Runtime.Serialization.OnSerializingAttribute">
\r
173 <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
175 <member name="M:System.Runtime.Serialization.OnSerializingAttribute.#ctor">
\r
176 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.OnSerializingAttribute" /> class. </summary>
\r
178 <member name="T:System.Runtime.Serialization.SerializationException">
\r
179 <summary>The exception thrown when an error occurs during serialization or deserialization.</summary>
\r
181 <member name="M:System.Runtime.Serialization.SerializationException.#ctor">
\r
182 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.SerializationException" /> class with default properties.</summary>
\r
184 <member name="M:System.Runtime.Serialization.SerializationException.#ctor(System.String)">
\r
185 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.SerializationException" /> class with a specified message.</summary>
\r
186 <param name="message">Indicates the reason why the exception occurred. </param>
\r
188 <member name="M:System.Runtime.Serialization.SerializationException.#ctor(System.String,System.Exception)">
\r
189 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.SerializationException" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.</summary>
\r
190 <param name="message">The error message that explains the reason for the exception. </param>
\r
191 <param name="innerException">The exception that is the cause of the current exception. If the <paramref name="innerException" /> parameter is not null, the current exception is raised in a catch block that handles the inner exception. </param>
\r
193 <member name="T:System.Runtime.Serialization.StreamingContext">
\r
194 <summary>Describes the source and destination of a given serialized stream, and provides an additional caller-defined context.</summary>
\r
196 <member name="M:System.Runtime.Serialization.StreamingContext.Equals(System.Object)">
\r
197 <summary>Determines whether two <see cref="T:System.Runtime.Serialization.StreamingContext" /> instances contain the same values.</summary>
\r
198 <returns>true if the specified object is an instance of <see cref="T:System.Runtime.Serialization.StreamingContext" /> and equals the value of the current instance; otherwise, false.</returns>
\r
199 <param name="obj">An object to compare with the current instance. </param>
\r
201 <member name="M:System.Runtime.Serialization.StreamingContext.GetHashCode">
\r
202 <summary>Returns a hash code of this object.</summary>
\r
203 <returns>The <see cref="T:System.Runtime.Serialization.StreamingContextStates" /> value that contains the source or destination of the serialization for this <see cref="T:System.Runtime.Serialization.StreamingContext" />.</returns>
\r