| Visual Basic (Declaration) | |
|---|---|
Public ReadOnly Property ChannelName As String | |
| C# | |
|---|---|
public string ChannelName {get;} | |
Library/Library.Test/TestIpcChannel.cs
| C# | Copy Code |
|---|---|
using (IpcEventChannel channel = new IpcEventChannel(_registrar, _channel)) Assert.AreEqual(_channel, channel.ChannelName); | |
| VB.NET | Copy Code |
|---|---|
Using channel As New IpcEventChannel(_registrar, _channel) Assert.AreEqual(_channel, channel.ChannelName) End Using | |
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7