Home.Net APIDocumentation and examplesClient triggers example

1.4. Client triggers example

Create a C# Console Application in Visual Studio

Add a reference to PureCM.Client (which should exist if installed correctly and should have the correct version)

Copy the code from dot_net_client_triggers.cs  in the following link into your Program.cs..

PureCM.Net-Triggers

 

Now when PureCM events are triggered, this program should catch them. eg 

OnUserConnected()

OnUserDisconnects()

OnEventCreated()

OnReposCreated()

OnReposDeleted()

OnStreamCreated()

OnStreamDeleted()

OnChangeSubmitted()

OnReviewAssigned()

OnReviewAccepted()

OnReviewRejected()

OnIssueAction()

OnAutoMergeFailed()

 

This page was: Helpful | Not Helpful