1 <?xml version="1.0" encoding="utf-8"?>
4 <name>Microsoft.Win32.Primitives</name>
7 <member name="T:System.ComponentModel.Win32Exception">
8 <summary>Throws an exception for a Win32 error code.</summary>
10 <member name="M:System.ComponentModel.Win32Exception.#ctor">
11 <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Win32Exception" /> class with the last Win32 error that occurred.</summary>
13 <member name="M:System.ComponentModel.Win32Exception.#ctor(System.Int32)">
14 <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Win32Exception" /> class with the specified error.</summary>
15 <param name="error">The Win32 error code associated with this exception.</param>
17 <member name="M:System.ComponentModel.Win32Exception.#ctor(System.Int32,System.String)">
18 <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Win32Exception" /> class with the specified error and the specified detailed description.</summary>
19 <param name="error">The Win32 error code associated with this exception.</param>
20 <param name="message">A detailed description of the error.</param>
22 <member name="M:System.ComponentModel.Win32Exception.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
23 <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Win32Exception" /> class with the specified context and the serialization information.</summary>
24 <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> associated with this exception.</param>
25 <param name="context">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that represents the context of this exception.</param>
27 <member name="M:System.ComponentModel.Win32Exception.#ctor(System.String)">
28 <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Win32Exception" /> class with the specified detailed description.</summary>
29 <param name="message">A detailed description of the error.</param>
31 <member name="M:System.ComponentModel.Win32Exception.#ctor(System.String,System.Exception)">
32 <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Win32Exception" /> class with the specified detailed description and the specified exception.</summary>
33 <param name="message">A detailed description of the error.</param>
34 <param name="innerException">A reference to the inner exception that is the cause of this exception.</param>
36 <member name="M:System.ComponentModel.Win32Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
37 <summary>Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object with the file name and line number at which this <see cref="T:System.ComponentModel.Win32Exception" /> occurred.</summary>
38 <param name="info">A <see cref="T:System.Runtime.Serialization.SerializationInfo" />.</param>
39 <param name="context">The contextual information about the source or destination.</param>
40 <exception cref="T:System.ArgumentNullException">
41 <paramref name="info" /> is <see langword="null" />.</exception>
43 <member name="M:System.ComponentModel.Win32Exception.ToString">
44 <summary>Returns a string that contains the <see cref="P:System.ComponentModel.Win32Exception.NativeErrorCode" />, or <see cref="P:System.Exception.HResult" />, or both.</summary>
45 <returns>A string that represents the <see cref="P:System.ComponentModel.Win32Exception.NativeErrorCode" />, or <see cref="P:System.Exception.HResult" />, or both.</returns>
47 <member name="P:System.ComponentModel.Win32Exception.NativeErrorCode">
48 <summary>Gets the Win32 error code associated with this exception.</summary>
49 <returns>The Win32 error code associated with this exception.</returns>