Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

System.Runtime.Serialization.Primitives.xml 17KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <doc>
  3. <assembly>
  4. <name>System.Runtime.Serialization.Primitives</name>
  5. </assembly>
  6. <members>
  7. <member name="T:System.Runtime.Serialization.CollectionDataContractAttribute">
  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>
  9. </member>
  10. <member name="M:System.Runtime.Serialization.CollectionDataContractAttribute.#ctor">
  11. <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.CollectionDataContractAttribute" /> class. </summary>
  12. </member>
  13. <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.IsItemNameSetExplicitly"></member>
  14. <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.IsKeyNameSetExplicitly"></member>
  15. <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.IsNameSetExplicitly"></member>
  16. <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.IsNamespaceSetExplicitly"></member>
  17. <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.IsReference">
  18. <summary>Gets or sets a value that indicates whether to preserve object reference data.</summary>
  19. <returns>true to keep object reference data; otherwise, false. The default is false.</returns>
  20. </member>
  21. <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.IsReferenceSetExplicitly"></member>
  22. <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.IsValueNameSetExplicitly"></member>
  23. <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.ItemName">
  24. <summary>Gets or sets a custom name for a collection element.</summary>
  25. <returns>The name to apply to collection elements.</returns>
  26. </member>
  27. <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.KeyName">
  28. <summary>Gets or sets the custom name for a dictionary key name.</summary>
  29. <returns>The name to use instead of the default dictionary key name.</returns>
  30. </member>
  31. <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.Name">
  32. <summary>Gets or sets the data contract name for the collection type.</summary>
  33. <returns>The data contract name for the collection type.</returns>
  34. </member>
  35. <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.Namespace">
  36. <summary>Gets or sets the namespace for the data contract.</summary>
  37. <returns>The namespace of the data contract.</returns>
  38. </member>
  39. <member name="P:System.Runtime.Serialization.CollectionDataContractAttribute.ValueName">
  40. <summary>Gets or sets the custom name for a dictionary value name.</summary>
  41. <returns>The name to use instead of the default dictionary value name.</returns>
  42. </member>
  43. <member name="T:System.Runtime.Serialization.ContractNamespaceAttribute">
  44. <summary>Specifies the CLR namespace and XML namespace of the data contract. </summary>
  45. </member>
  46. <member name="M:System.Runtime.Serialization.ContractNamespaceAttribute.#ctor(System.String)">
  47. <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.ContractNamespaceAttribute" /> class using the supplied namespace. </summary>
  48. <param name="contractNamespace">The namespace of the contract.</param>
  49. </member>
  50. <member name="P:System.Runtime.Serialization.ContractNamespaceAttribute.ClrNamespace">
  51. <summary>Gets or sets the CLR namespace of the data contract type. </summary>
  52. <returns>The CLR-legal namespace of a type.</returns>
  53. </member>
  54. <member name="P:System.Runtime.Serialization.ContractNamespaceAttribute.ContractNamespace">
  55. <summary>Gets the namespace of the data contract members.</summary>
  56. <returns>The namespace of the data contract members.</returns>
  57. </member>
  58. <member name="T:System.Runtime.Serialization.DataContractAttribute">
  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>
  60. </member>
  61. <member name="M:System.Runtime.Serialization.DataContractAttribute.#ctor">
  62. <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.DataContractAttribute" /> class. </summary>
  63. </member>
  64. <member name="P:System.Runtime.Serialization.DataContractAttribute.IsNameSetExplicitly"></member>
  65. <member name="P:System.Runtime.Serialization.DataContractAttribute.IsNamespaceSetExplicitly"></member>
  66. <member name="P:System.Runtime.Serialization.DataContractAttribute.IsReference">
  67. <summary>Gets or sets a value that indicates whether to preserve object reference data.</summary>
  68. <returns>true to keep object reference data using standard XML; otherwise, false. The default is false.</returns>
  69. </member>
  70. <member name="P:System.Runtime.Serialization.DataContractAttribute.IsReferenceSetExplicitly"></member>
  71. <member name="P:System.Runtime.Serialization.DataContractAttribute.Name">
  72. <summary>Gets or sets the name of the data contract for the type.</summary>
  73. <returns>The local name of a data contract. The default is the name of the class that the attribute is applied to. </returns>
  74. </member>
  75. <member name="P:System.Runtime.Serialization.DataContractAttribute.Namespace">
  76. <summary>Gets or sets the namespace for the data contract for the type.</summary>
  77. <returns>The namespace of the contract. </returns>
  78. </member>
  79. <member name="T:System.Runtime.Serialization.DataMemberAttribute">
  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>
  81. </member>
  82. <member name="M:System.Runtime.Serialization.DataMemberAttribute.#ctor">
  83. <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.DataMemberAttribute" /> class. </summary>
  84. </member>
  85. <member name="P:System.Runtime.Serialization.DataMemberAttribute.EmitDefaultValue">
  86. <summary>Gets or sets a value that specifies whether to serialize the default value for a field or property being serialized. </summary>
  87. <returns>true if the default value for a member should be generated in the serialization stream; otherwise, false. The default is true.</returns>
  88. </member>
  89. <member name="P:System.Runtime.Serialization.DataMemberAttribute.IsNameSetExplicitly"></member>
  90. <member name="P:System.Runtime.Serialization.DataMemberAttribute.IsRequired">
  91. <summary>Gets or sets a value that instructs the serialization engine that the member must be present when reading or deserializing.</summary>
  92. <returns>true, if the member is required; otherwise, false.</returns>
  93. <exception cref="T:System.Runtime.Serialization.SerializationException">the member is not present.</exception>
  94. </member>
  95. <member name="P:System.Runtime.Serialization.DataMemberAttribute.Name">
  96. <summary>Gets or sets a data member name. </summary>
  97. <returns>The name of the data member. The default is the name of the target that the attribute is applied to. </returns>
  98. </member>
  99. <member name="P:System.Runtime.Serialization.DataMemberAttribute.Order">
  100. <summary>Gets or sets the order of serialization and deserialization of a member.</summary>
  101. <returns>The numeric order of serialization or deserialization.</returns>
  102. </member>
  103. <member name="T:System.Runtime.Serialization.EnumMemberAttribute">
  104. <summary>Specifies that the field is an enumeration member and should be serialized.</summary>
  105. </member>
  106. <member name="M:System.Runtime.Serialization.EnumMemberAttribute.#ctor">
  107. <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.EnumMemberAttribute" /> class. </summary>
  108. </member>
  109. <member name="P:System.Runtime.Serialization.EnumMemberAttribute.IsValueSetExplicitly"></member>
  110. <member name="P:System.Runtime.Serialization.EnumMemberAttribute.Value">
  111. <summary>Gets or sets the value associated with the enumeration member the attribute is applied to. </summary>
  112. <returns>The value associated with the enumeration member.</returns>
  113. </member>
  114. <member name="T:System.Runtime.Serialization.IgnoreDataMemberAttribute">
  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>
  116. </member>
  117. <member name="M:System.Runtime.Serialization.IgnoreDataMemberAttribute.#ctor">
  118. <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.IgnoreDataMemberAttribute" /> class. </summary>
  119. </member>
  120. <member name="T:System.Runtime.Serialization.InvalidDataContractException">
  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>
  122. </member>
  123. <member name="M:System.Runtime.Serialization.InvalidDataContractException.#ctor">
  124. <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.InvalidDataContractException" /> class. </summary>
  125. </member>
  126. <member name="M:System.Runtime.Serialization.InvalidDataContractException.#ctor(System.String)">
  127. <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.InvalidDataContractException" /> class with the specified error message. </summary>
  128. <param name="message">A description of the error. </param>
  129. </member>
  130. <member name="M:System.Runtime.Serialization.InvalidDataContractException.#ctor(System.String,System.Exception)">
  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>
  132. <param name="message">A description of the error. </param>
  133. <param name="innerException">The original <see cref="T:System.Exception" />. </param>
  134. </member>
  135. <member name="T:System.Runtime.Serialization.KnownTypeAttribute">
  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>
  137. </member>
  138. <member name="M:System.Runtime.Serialization.KnownTypeAttribute.#ctor(System.String)">
  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>
  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>
  141. </member>
  142. <member name="M:System.Runtime.Serialization.KnownTypeAttribute.#ctor(System.Type)">
  143. <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.KnownTypeAttribute" /> class with the specified type. </summary>
  144. <param name="type">The <see cref="T:System.Type" /> that is included as a known type when serializing or deserializing data.</param>
  145. </member>
  146. <member name="P:System.Runtime.Serialization.KnownTypeAttribute.MethodName">
  147. <summary>Gets the name of a method that will return a list of types that should be recognized during serialization or deserialization. </summary>
  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>
  149. </member>
  150. <member name="P:System.Runtime.Serialization.KnownTypeAttribute.Type">
  151. <summary>Gets the type that should be recognized during serialization or deserialization by the <see cref="T:System.Runtime.Serialization.DataContractSerializer" />. </summary>
  152. <returns>The <see cref="T:System.Type" /> that is used during serialization or deserialization. </returns>
  153. </member>
  154. <member name="T:System.Runtime.Serialization.OnDeserializedAttribute">
  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>
  156. </member>
  157. <member name="M:System.Runtime.Serialization.OnDeserializedAttribute.#ctor">
  158. <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.OnDeserializedAttribute" /> class. </summary>
  159. </member>
  160. <member name="T:System.Runtime.Serialization.OnDeserializingAttribute">
  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>
  162. </member>
  163. <member name="M:System.Runtime.Serialization.OnDeserializingAttribute.#ctor">
  164. <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.OnDeserializingAttribute" /> class. </summary>
  165. </member>
  166. <member name="T:System.Runtime.Serialization.OnSerializedAttribute">
  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>
  168. </member>
  169. <member name="M:System.Runtime.Serialization.OnSerializedAttribute.#ctor">
  170. <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.OnSerializedAttribute" /> class. </summary>
  171. </member>
  172. <member name="T:System.Runtime.Serialization.OnSerializingAttribute">
  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>
  174. </member>
  175. <member name="M:System.Runtime.Serialization.OnSerializingAttribute.#ctor">
  176. <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.OnSerializingAttribute" /> class. </summary>
  177. </member>
  178. <member name="T:System.Runtime.Serialization.SerializationException">
  179. <summary>The exception thrown when an error occurs during serialization or deserialization.</summary>
  180. </member>
  181. <member name="M:System.Runtime.Serialization.SerializationException.#ctor">
  182. <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.SerializationException" /> class with default properties.</summary>
  183. </member>
  184. <member name="M:System.Runtime.Serialization.SerializationException.#ctor(System.String)">
  185. <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.SerializationException" /> class with a specified message.</summary>
  186. <param name="message">Indicates the reason why the exception occurred. </param>
  187. </member>
  188. <member name="M:System.Runtime.Serialization.SerializationException.#ctor(System.String,System.Exception)">
  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>
  190. <param name="message">The error message that explains the reason for the exception. </param>
  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>
  192. </member>
  193. <member name="T:System.Runtime.Serialization.StreamingContext">
  194. <summary>Describes the source and destination of a given serialized stream, and provides an additional caller-defined context.</summary>
  195. </member>
  196. <member name="M:System.Runtime.Serialization.StreamingContext.Equals(System.Object)">
  197. <summary>Determines whether two <see cref="T:System.Runtime.Serialization.StreamingContext" /> instances contain the same values.</summary>
  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>
  199. <param name="obj">An object to compare with the current instance. </param>
  200. </member>
  201. <member name="M:System.Runtime.Serialization.StreamingContext.GetHashCode">
  202. <summary>Returns a hash code of this object.</summary>
  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>
  204. </member>
  205. </members>
  206. </doc>