Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
There should be an event for when user logout from vault. How do i attach to this "ConnectionReleased" event?
Thanks
Solved! Go to Solution.
There should be an event for when user logout from vault. How do i attach to this "ConnectionReleased" event?
Thanks
Solved! Go to Solution.
Hi @stefan.palm,
You can register to the ConnectionReleased event as below:
Autodesk.DataManagement.Client.Framework.Vault.Library.ConnectionManager.ConnectionReleased += ConnectionManager_ConnectionReleased; private void ConnectionManager_ConnectionReleased(object sender, VDF.Vault.Currency.Connections.ConnectionEventArgs e) { // Required functionality }
If you are using an IExplorerExtension, you can put your required code directly in the OnLogOff method.
Regards,
Sajith