System.Runtime.Remoting.Channels.IChannel.ChannelPriority Property

Gets the priority of the channel.

Syntax

public int ChannelPriority { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Higher numbers indicate higher priority, so a channel with priority of 50 has a higher priority than a channel with priority 25. The cross application domain channel has a priority of 100.

Client channels with higher priority are given the first chance to connect to a remote object specified by a URL or a particular channel data entry from a System.Runtime.Remoting.ObjRef.

For server channels, the priority indicates the order in which their channel data will appear in a System.Runtime.Remoting.ObjRef, which in turn affects the order in which clients will try to connect to the server object. If the server is listening on an HTTP channel with priority 50 and a TCP channel with priority 25 and the client has registered both an HTTP and TCP channel, then the client will use the HTTP channel to talk to the server.

Requirements

Namespace: System.Runtime.Remoting.Channels
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0