Leadtools.Services.Raster.FaultContracts Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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("").
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 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 XP, Windows Server 2003 family, Windows Server 2008 family

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