Export (0) Print
Expand All

TcpServerChannel Constructor (IDictionary, IServerChannelSinkProvider, IAuthorizeRemotingConnection)

Note: This constructor is new in the .NET Framework version 2.0.

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
)
public TcpServerChannel (
	IDictionary properties, 
	IServerChannelSinkProvider sinkProvider, 
	IAuthorizeRemotingConnection authorizeCallback
)
public function TcpServerChannel (
	properties : IDictionary, 
	sinkProvider : IServerChannelSinkProvider, 
	authorizeCallback : IAuthorizeRemotingConnection
)

Parameters

properties

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

sinkProvider

The IServerChannelSinkProvider implementation to be used by the channel.

authorizeCallback

The IAuthorizeRemotingConnection implementation to be used by the channel.

Exception typeCondition

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.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

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

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2015 Microsoft