- message
- The message to send.
Visual Basic (Declaration) | |
---|---|
Overloads Public Sub SendMessage( _ ByVal message As ServiceMessage _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void SendMessage( ServiceMessage message ) |
Managed Extensions for C++ | |
---|---|
public: void SendMessage( ServiceMessage message ) |
C++/CLI | |
---|---|
public: void SendMessage( ServiceMessage message ) |
Parameters
- message
- The message to send.
For an example refer to ServiceAdministrator.InstallService
The T:Message event will be generated when a response is received. The service needs to be
running before it can accept messages.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family