IGHARemoteObjectSubscribeToPropertyAsync Method |
Subscribes to any changes to the specified property
Namespace:
RemoteRESTLib
Assembly:
GHARemoteRESTLib (in GHARemoteRESTLib.dll) Version: 1.0.14
Syntax Task<Guid> SubscribeToPropertyAsync(
string propertyName,
GHAConnectionManagerPropertyChangeHandler eventHandler
)
Function SubscribeToPropertyAsync (
propertyName As String,
eventHandler As GHAConnectionManagerPropertyChangeHandler
) As Task(Of Guid)
Task<Guid>^ SubscribeToPropertyAsync(
String^ propertyName,
GHAConnectionManagerPropertyChangeHandler^ eventHandler
)
abstract SubscribeToPropertyAsync :
propertyName : string *
eventHandler : GHAConnectionManagerPropertyChangeHandler -> Task<Guid>
Parameters
- propertyName
- Type: SystemString
Name of property to which to subscribe - eventHandler
- Type: RemoteRESTLibGHAConnectionManagerPropertyChangeHandler
[Missing <param name="eventHandler"/> documentation for "M:RemoteRESTLib.IGHARemoteObject.SubscribeToPropertyAsync(System.String,RemoteRESTLib.GHAConnectionManager.PropertyChangeHandler)"]
Return Value
Type:
TaskGuidUnique identifier for the subscription
See Also