Collapse All Expand All | Language Filter: Visual Basic Language Filter: C#Language Filter: Visual C++Language Filter: JavaScript Visual Basic C# Visual C++ JavaScript | See Also
.NET Framework Class Library
RemoteEventService..::Subscribe Method

BMXNET 4.0 Developer API

Subscribe to an event named anEventType. These events are trigger exclusivley by other BMXNet remote services and travel from client-to-server-to-client. Once subscribed, the RemoteSession will poll based on the EventPollingInterval to see if a server-side event is waiting to be triggered on the client.

Namespace: IndianHealthService.BMXNet
Assembly: BMXNET40 (in BMXNET40.dll)

# Syntax

| C# |  |  | Visual Basic |  |  | Visual C++ |

    int Subscribe(
    	string anEventType
    )

    Function Subscribe ( _
    	anEventType As String _
    ) As Integer

    int Subscribe(
    	String^ anEventType
    )

#### Parameters

anEventType
  String
  The name of the event to subscribe to

#### Return Value

1 if successful, otherwise it's an error. Refer to KIDS source for error codes.

# See Also

RemoteEventService Interface
IndianHealthService.BMXNet Namespace