WebApplications.Testing.Data.SqlExceptionPrototype.SqlExceptionPrototype C# (CSharp) Method

SqlExceptionPrototype() public method

Initializes a new instance of the SqlExceptionPrototype class.
public SqlExceptionPrototype ( [ exception ) : System
exception [ The exception.
return System
        public SqlExceptionPrototype([NotNull] SqlException exception)
        {
            if (exception == null) throw new ArgumentNullException("exception");
            SqlException = exception;
        }

Same methods

SqlExceptionPrototype::SqlExceptionPrototype ( ) : System
SqlExceptionPrototype::SqlExceptionPrototype ( SqlErrorCollection errorCollection, string serverVersion = null, System.Guid conId = default(Guid), Exception innerException = null ) : System