Click or drag to resize

MethodReturn Class

MethodReturn serves as wrapper for methods that return void.
Inheritance Hierarchy
SystemObject
  CADSharpTools.CoreMethodReturn

Namespace:  CADSharpTools.Core
Assembly:  CADSharpTools.PDM (in CADSharpTools.PDM.dll) Version: 1.4.16.0 (1.4.16)
Syntax
public class MethodReturn

The MethodReturn type exposes the following members.

Constructors
  NameDescription
Public methodMethodReturn
Creates a new instance of the MethodReturn class.
Public methodMethodReturn(String)
Create a new instance of the MethodReturn class.
Public methodMethodReturn(Exception, Boolean)
Creates a new instance of the MethodReturn class.
Public methodMethodReturn(String, Boolean)
Creates a new instance of the MethodReturn class.
Top
Properties
  NameDescription
Public propertyError
Error message.
Public propertyException
Exception object.
Public propertyIsError
Property indicating whether the method has successfully completed or not.
Public propertyTimeStamp
Time stamp.
Public propertyWarning
The warning message.
Top
Remarks
Use this class to capture exceptions throwing by SOLIDWORKS API or SOLIDWORKS PDM API objects.
See Also