C# 클래스 WebApplications.Utilities.Service.ServerConfig

파일 보기 프로젝트 열기: webappsuk/CoreLibraries 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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