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
LocalEventService..::HasSubscribers Method

BMXNET 4.0 Developer API

Checks to see there are any subscriptions for this event.

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

# Syntax

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

    bool HasSubscribers(
    	string anEventName
    )

    Function HasSubscribers ( _
    	anEventName As String _
    ) As Boolean

    bool HasSubscribers(
    	String^ anEventName
    )

#### Parameters

anEventName
  String
  The name of the event checking to see if it's been subscribed already.

#### Return Value

# Remarks

If publishing an event, there is no need to first check if there are subscribers unless there is a performance hit for the application to Trigger the event.

# See Also

LocalEventService Interface
IndianHealthService.BMXNet Namespace