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

eventName
args

Glossary Item Box

Synchronously dispatches the event to this instance's subscribers

Syntax

Visual Basic (Declaration) 
Public Sub RaiseLocal( _
   ByVal eventName As String, _
   ByVal ParamArray args() As String _
) 
C# 
public void RaiseLocal( 
   string eventName,
   params string[] args
)

Parameters

eventName
args

Example

Library/Library.Test/TestIpcChannel.cs

C#Copy Code
using (IpcEventChannel ch1 = new IpcEventChannel(_registrar, _channel))
    ch1.RaiseLocal("UnknownName");
VB.NETCopy Code
Using ch1 As New IpcEventChannel(_registrar, _channel)
    ch1.RaiseLocal("UnknownName")
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