DatabaseAddChangeListener Method (EventHandlerDatabaseChangedEventArgs) |
Namespace: Couchbase.Lite
public ListenerToken AddChangeListener( EventHandler<DatabaseChangedEventArgs> handler )
Exception | Condition |
---|---|
ArgumentNullException | Thrown if handler is null |
InvalidOperationException | Thrown if this method is called after the database is closed |