LEADTOOLS WCF (Leadtools.Services.Raster.FaultContracts assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
RasterFault Constructor
See Also 
Leadtools.Services.Raster.FaultContracts Namespace > RasterFault Class : RasterFault Constructor



errorId
The code that caused the exception.
errorMessage
The error message that explains the reason for the exception, or an empty string("").

The RasterFault Constructor is available in LEADTOOLS Document and Medical Imaging toolkits.

Initializes a new instance of the RasterFault class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal errorId As Integer, _
   ByVal errorMessage As String _
)
Visual Basic (Usage)Copy Code
Dim errorId As Integer
Dim errorMessage As String
 
Dim instance As New RasterFault(errorId, errorMessage)
C# 
public RasterFault( 
   int errorId,
   string errorMessage
)
C++/CLI 
public:
RasterFault( 
   int errorId,
   String^ errorMessage
)

Parameters

errorId
The code that caused the exception.
errorMessage
The error message that explains the reason for the exception, or an empty string("").

Remarks

The constructor initializes the ErrorMessage property of the new instance using errorMessage and the ErrorId property of the new instance using errorId.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Applications developed with LEADTOOLS WCF components require runtime licenses. Server licensing is required for applications on a server. For more information, refer to: Imaging Pro/Document/Medical Features