Export (0) Print
Expand All

HttpChannel.AddHookChannelUri Method

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)

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

Parameters

channelUri
Type: System.String

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

Implements

IChannelReceiverHook.AddHookChannelUri(String)

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft