HttpClientChannel.ChannelPriority Property


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

Gets the priority of the current channel.

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

public int ChannelPriority {
	[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.Infrastructure, 
		Infrastructure = true)]

Property Value

Type: System.Int32

An integer that represents the priority assigned to the channel.

The priority controls the order in which competing clients connect to a given endpoint; higher priority channels connect before lower priority channels. The default priority is 1; negative priorities are allowed.

.NET Framework
Available since 1.1
Return to top