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

SqlExceptionPrototype() public method

Initializes a new instance of the SqlExceptionPrototype class.
public SqlExceptionPrototype ( SqlErrorCollection errorCollection, string serverVersion = null, System.Guid conId = default(Guid), Exception innerException = null ) : System
errorCollection System.Data.SqlClient.SqlErrorCollection The error collection.
serverVersion string The server version.
conId System.Guid The connection id.
innerException System.Exception The inner exception.
return System
        public SqlExceptionPrototype(
            SqlErrorCollection errorCollection,
            string serverVersion = null,
            Guid conId = default(Guid),
            Exception innerException = null)
            : this(
                // ReSharper disable once AssignNullToNotNullAttribute
                _constructor(
                    errorCollection,
                    serverVersion,
                    conId == default(Guid) ? Guid.NewGuid() : conId,
                    innerException))
        {
        }

Same methods

SqlExceptionPrototype::SqlExceptionPrototype ( ) : System
SqlExceptionPrototype::SqlExceptionPrototype ( [ exception ) : System