CSharpTest.Net
StartListening() Method
See Also  Example Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.IpcChannel Namespace > IpcEventChannel Class > StartListening Method : StartListening() Method

Glossary Item Box

Starts listening for events being posted to this channel on a new thread

Syntax

Visual Basic (Declaration) 
Public Overloads Sub StartListening() 
C# 
public void StartListening()

Example

Library/Library.Test/TestIpcChannel.cs

C#Copy Code
using (IpcEventChannel channel = new IpcEventChannel(_registrar, _channel))
{
    channel.StartListening();
    channel.StopListening();
    channel.StartListening();
    channel.StopListening();
}
VB.NETCopy Code
Using channel As New IpcEventChannel(_registrar, _channel)
    channel.StartListening()
    channel.StopListening()
    channel.StartListening()
    channel.StopListening()
End Using

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys