KMotion_dotNet.KM_CoordMotion.Dispose C# (CSharp) Method

Dispose() public method

Releases object resources
public Dispose ( ) : void
return void
        public void Dispose()
        {
            try
            {
        	    this.Interpreter.Dispose();
                KM_dotnet_Interop_CoordMotion_Free(ref _InstanceHandle);
            }
            catch (DllNotFoundException e)
            {
                throw new DMException(this, e, String.Format("Dll Not Found Exception thrown :  Caller - [{0}] :: Member - [{1}]",
                    this.ToString(), "Dispose"));
            }
            catch (EntryPointNotFoundException e)
            {
                throw new DMException(this, e, String.Format("Entry Point Not Found Exception thrown :  Caller - [{0}] :: Member - [{1}]",
                   this.ToString(), "Dispose"));
            }
            catch (Exception e)
            {
                throw new DMException(this, e, String.Format("General Exception thrown :  Caller - [{0}] :: Member - [{1}]",
                  this.ToString(), "Dispose"));
            }
        }
KM_CoordMotion