﻿<?xml version="1.0" encoding="utf-8"?><Type Name="MembershipCreateUserException" FullName="System.Web.Security.MembershipCreateUserException"><TypeSignature Language="C#" Value="public class MembershipCreateUserException : Exception" /><AssemblyInfo><AssemblyName>System.Web</AssemblyName><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.Exception</BaseTypeName></Base><Interfaces /><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>An instance of the <see cref="T:System.Web.Security.MembershipCreateUserException" /> class is thrown when a <see cref="Overload:System.Web.Security.Membership.CreateUser" /> operation fails.</para><block subset="none" type="note"><para>If you are not familiar with the membership features of ASP.NET, see <format type="text/html"><a href="79184d17-f4c7-4c9f-a073-cec4f5543980">Introduction to Membership</a></format> before continuing. For a list of other topics related to membership, see <format type="text/html"><a href="824c3a24-f0af-427c-a652-0d2d1e9397cd">Managing Users By Using Membership</a></format>.</para></block><para>The <see cref="P:System.Web.Security.MembershipCreateUserException.StatusCode" /> property indicates the reason for the exception so you can handle it appropriately.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>The exception that is thrown when a user is not successfully created by a membership provider.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public MembershipCreateUserException ();" /><MemberType>Constructor</MemberType><Parameters /><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>An instance of the <see cref="T:System.Web.Security.MembershipCreateUserException" /> class is thrown by the <see cref="M:System.Web.Security.Membership.CreateUser(System.String,System.String)" /> method when the user is not created.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Web.Security.MembershipCreateUserException" /> class.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public MembershipCreateUserException (string message);" /><MemberType>Constructor</MemberType><Parameters><Parameter Name="message" Type="System.String" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Web.Security.MembershipCreateUserException" /> class is thrown by the <see cref="M:System.Web.Security.Membership.CreateUser(System.String,System.String)" /> method when the user is not created.</para><para>You can use the <paramref name="message" /> parameter to set the <see cref="P:System.Exception.Message" /> property of the exception to a meaningful description of the reason for the exception.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Web.Security.MembershipCreateUserException" /> class and sets the <see cref="P:System.Exception.Message" /> property to the supplied <paramref name="message" /> parameter value</para></summary><param name="message"><attribution license="cc4" from="Microsoft" modified="false" />A description of the reason for the exception.</param></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public MembershipCreateUserException (System.Web.Security.MembershipCreateStatus statusCode);" /><MemberType>Constructor</MemberType><Parameters><Parameter Name="statusCode" Type="System.Web.Security.MembershipCreateStatus" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Web.Security.MembershipCreateUserException" /> class is thrown by the <see cref="M:System.Web.Security.Membership.CreateUser(System.String,System.String)" /> method when the user is not created.</para><para>The <paramref name="statusCode" /> parameter enables you to indicate why the <see cref="T:System.Web.Security.MembershipCreateUserException" /> was thrown. The <paramref name="statusCode" /> parameter value is exposed by the <see cref="P:System.Web.Security.MembershipCreateUserException.StatusCode" /> property.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Web.Security.MembershipCreateUserException" /> class with the specified <see cref="P:System.Web.Security.MembershipCreateUserException.StatusCode" /> value.</para></summary><param name="statusCode"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Web.Security.MembershipCreateStatus" /> enumeration value that describes the reason for the exception.</param></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="protected MembershipCreateUserException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);" /><MemberType>Constructor</MemberType><Parameters><Parameter Name="info" Type="System.Runtime.Serialization.SerializationInfo" /><Parameter Name="context" Type="System.Runtime.Serialization.StreamingContext" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This constructor is called during deserialization to reconstitute the exception object transmitted over a stream. For more information, see <format type="text/html"><a href="832ac524-21bc-419a-a27b-ca8bfc45840f">XML and SOAP Serialization</a></format>.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Web.Security.MembershipCreateUserException" /> class with the supplied serialization information and context.</para></summary><param name="info"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param><param name="context"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Runtime.Serialization.StreamingContext" />  that contains contextual information about the source or destination.</param></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public MembershipCreateUserException (string message, Exception innerException);" /><MemberType>Constructor</MemberType><Parameters><Parameter Name="message" Type="System.String" /><Parameter Name="innerException" Type="System.Exception" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>An instance of the <see cref="T:System.Web.Security.MembershipCreateUserException" /> class is thrown by the <see cref="M:System.Web.Security.Membership.CreateUser(System.String,System.String)" /> method when the user is not created.</para><para>You can use this overload of the <see cref="T:System.Web.Security.MembershipCreateUserException" /> constructor to supply information regarding a caught exception that occurred while the user was being created.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Web.Security.MembershipCreateUserException" /> class and sets the <see cref="P:System.Exception.Message" /> property to the supplied <paramref name="message" /> and the <see cref="P:System.Exception.InnerException" /> property to the supplied <paramref name="innerException" />.</para></summary><param name="message"><attribution license="cc4" from="Microsoft" modified="false" />A description of the reason for the exception.</param><param name="innerException"><attribution license="cc4" from="Microsoft" modified="false" />The exception that caused the <see cref="T:System.Web.Security.MembershipCreateUserException" />.</param></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="GetObjectData"><MemberSignature Language="C#" Value="public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext ctx);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="info" Type="System.Runtime.Serialization.SerializationInfo" /><Parameter Name="ctx" Type="System.Runtime.Serialization.StreamingContext" /></Parameters><Docs><param name="ctx">To be added.</param><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Any objects included in the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> are automatically tracked and serialized by the formatter.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the data needed to serialize the target object.</para></summary><param name="info"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> to populate with data.</param></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="StatusCode"><MemberSignature Language="C#" Value="public System.Web.Security.MembershipCreateStatus StatusCode { get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Web.Security.MembershipCreateStatus</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="P:System.Web.Security.MembershipCreateUserException.StatusCode" /> property enables you to determine why the <see cref="T:System.Web.Security.MembershipCreateUserException" /> was thrown and respond accordingly.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a description of the reason for the exception.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member></Members></Type>