AddIn.Connect.OnDisconnection C# (CSharp) Метод

OnDisconnection() публичный Метод

Implements the OnDisconnection method of the IDTExtensibility2 interface. Receives notification that the Add-in is being unloaded.
public OnDisconnection ( Extensibility disconnectMode, System &custom ) : void
disconnectMode Extensibility
custom System
Результат void
		public void OnDisconnection(Extensibility.ext_DisconnectMode disconnectMode, ref System.Array custom)
		{
			try
			{
				//TODO: Disconnect the add-in
			}
			catch(System.Exception e)
			{
				Mindjet.Utility.HandleError(e);
			}
		}