IpcChannel.ChannelPriority Property

Definition

Gets the priority of the current channel.

C#
public int ChannelPriority { get; }

Property Value

An integer that represents the priority assigned to the channel.

Implements

Examples

The following code example shows how to use the ChannelPriority property. This code example is part of a larger example provided for the IpcChannel class.

C#
// Show the priority of the channel.
Console.WriteLine("The priority of the channel is {0}.",
    serverChannel.ChannelPriority);

Remarks

The default priority is 20.

Applies to

제품 버전
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1