Export (0) Print
Expand All

TcpServerChannel Constructor (IDictionary, IServerChannelSinkProvider, IAuthorizeRemotingConnection)

Initializes a new instance of the TcpServerChannel class with the specified channel properties, sink, and authorization provider.

Namespace:  System.Runtime.Remoting.Channels.Tcp
Assembly:  System.Runtime.Remoting (in System.Runtime.Remoting.dll)

public TcpServerChannel(
	IDictionary properties,
	IServerChannelSinkProvider sinkProvider,
	IAuthorizeRemotingConnection authorizeCallback
)

Parameters

properties
Type: System.Collections.IDictionary

A IDictionary collection that specifies values for configuration properties to be used by the channel.

sinkProvider
Type: System.Runtime.Remoting.Channels.IServerChannelSinkProvider

The IServerChannelSinkProvider implementation to be used by the channel.

authorizeCallback
Type: System.Runtime.Remoting.Channels.IAuthorizeRemotingConnection

The IAuthorizeRemotingConnection implementation to be used by the channel.

ExceptionCondition
ArgumentException

A provided channel property was badly formatted.

For more information about channel configuration properties, see Channel and Formatter Configuration Properties.

NoteNote

If the server computer is running Windows 95/98/Me, the TcpServerChannel cannot be specified as secure.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft