HttpChannel.AddHookChannelUri Method (String)


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

Adds a URI on which the channel hook should listen.

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

<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags := SecurityPermissionFlag.Infrastructure,
	Infrastructure := True)>
Public Sub AddHookChannelUri (
	channelUri As String


Type: System.String

Should always be a null reference (Nothing in Visual Basic) for HttpChannel

Code should not call the AddHookChannelUri method directly.

The data object can be used to pass a specific initialization state to the channel.

.NET Framework
Available since 1.1
Return to top