Show / Hide Table of Contents

Class TransientConnectionInformation

Information about a transient connection

Inheritance
System.Object
ConnectionInformationBase
TransientConnectionInformation
Inherited Members
ConnectionInformationBase.ToString()
Namespace: MESL.SqlRace.Domain
Assembly: MESL.SqlRace.Domain.dll
Syntax
public sealed class TransientConnectionInformation : ConnectionInformationBase

Constructors

TransientConnectionInformation(String)

Constructor

Declaration
public TransientConnectionInformation(string connectionString)
Parameters
Type Name Description
System.String connectionString

The connection string

Exceptions
Type Condition
System.ArgumentNullException

Thrown if connection string is null

Properties

ConnectionString

Gets the connection string.

Declaration
public override string ConnectionString { get; }
Property Value
Type Description
System.String
Overrides
ConnectionInformationBase.ConnectionString

PortNumber

Gets the port number.

Declaration
public override int PortNumber { get; }
Property Value
Type Description
System.Int32
Overrides
ConnectionInformationBase.PortNumber

RemoteIpAddress

Gets the remote IP address.

Declaration
public override string RemoteIpAddress { get; }
Property Value
Type Description
System.String
Overrides
ConnectionInformationBase.RemoteIpAddress

Methods

Create()

Create default transient connection information

Declaration
public static TransientConnectionInformation Create()
Returns
Type Description
TransientConnectionInformation

Default transient connection information

GetContextKey()

Gets the context key.

Declaration
public override string GetContextKey()
Returns
Type Description
System.String

Returns context key

Overrides
ConnectionInformationBase.GetContextKey()
Back to top Generated by DocFX