C# Класс WebApplications.Utilities.Service.ServerConfig

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Heartbeat System.TimeSpan
MaximumConnections int

Открытые методы

Метод Описание
ServerConfig ( WellKnownSidType sidType, [ domainSid = null, [ name = null, int maximumConnections = 1, System.TimeSpan heartbeat = default(TimeSpan) ) : System

Initializes a new instance of the NamedPipeServer class.

ServerConfig ( [ identity = null, [ name = null, int maximumConnections = 1, System.TimeSpan heartbeat = default(TimeSpan) ) : System

Initializes a new instance of the NamedPipeServer class.

ServerConfig ( [ sddlForm, int maximumConnections = 1, [ name = null, System.TimeSpan heartbeat = default(TimeSpan) ) : System

Initializes a new instance of the NamedPipeServer class.

Описание методов

ServerConfig() публичный Метод

Initializes a new instance of the NamedPipeServer class.
public ServerConfig ( WellKnownSidType sidType, [ domainSid = null, [ name = null, int maximumConnections = 1, System.TimeSpan heartbeat = default(TimeSpan) ) : System
sidType WellKnownSidType One of the enumeration of well known sid types, the value must not be /// . This defines /// who can connect to the pipe.
domainSid [ The domain SID. This value is required for the following values. /// This parameter is ignored for any other values. /// /// /// AccountAdministratorSid /// /// /// AccountGuestSid /// /// /// AccountKrbtgtSid /// /// /// AccountDomainAdminsSid /// /// /// AccountDomainUsersSid /// /// /// AccountDomainGuestsSid /// /// /// AccountComputersSid /// /// /// AccountControllersSid /// /// /// AccountCertAdminsSid /// /// /// AccountSchemaAdminsSid /// /// /// AccountEnterpriseAdminsSid /// /// /// AccountPolicyAdminsSid /// /// /// AccountRasAndIasServersSid /// ///
name [ The pipe name.
maximumConnections int The maximum number of connections.
heartbeat System.TimeSpan The heartbeat timespan, ensures a connection is always available, defaults to once every 5 seconds, specify a negative value to disable.
Результат System

ServerConfig() публичный Метод

Initializes a new instance of the NamedPipeServer class.
/// Invalid pipe name.;name /// or /// Invalid pipe name.;name ///
public ServerConfig ( [ identity = null, [ name = null, int maximumConnections = 1, System.TimeSpan heartbeat = default(TimeSpan) ) : System
identity [ The identity of clients that can access the pipe (defaults to BuiltinUsers).
name [ The pipe name.
maximumConnections int The maximum number of connections.
heartbeat System.TimeSpan The heartbeat timespan, ensures a connection is always available, defaults to once every 5 seconds, specify a negative value to disable.
Результат System

ServerConfig() публичный Метод

Initializes a new instance of the NamedPipeServer class.
public ServerConfig ( [ sddlForm, int maximumConnections = 1, [ name = null, System.TimeSpan heartbeat = default(TimeSpan) ) : System
sddlForm [ SDDL string for the SID used to create the /// object to /// identify clients that can access the pipe.
maximumConnections int The maximum number of connections.
name [ The pipe name.
heartbeat System.TimeSpan The heartbeat timespan, ensures a connection is always available, defaults to once every 5 seconds, specify a negative value to disable.
Результат System

Описание свойств

Heartbeat публичное свойство

The heartbeat timespan, ensures a connection is always available, defaults to once every 5 seconds.
public TimeSpan,System Heartbeat
Результат System.TimeSpan

MaximumConnections публичное свойство

The maximum number of remote connections (defaults to 1)
public int MaximumConnections
Результат int