HttpChannel Constructor (Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the HttpChannel class with a server channel that listens on the specified port.

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

public HttpChannel(
	int port
)

Parameters

port
Type: System.Int32

The port on which the server channel listens.

When this constructor is used the default IClientChannelSinkProvider used is the SoapClientFormatterSinkProvider.

.NET Framework
Available since 1.1
Return to top
Show: