←Select platform

RasterException Constructor(string,RasterExceptionCode)

Summary

Initializes a new instance of the RasterException class with a message and LEADTOOLS exception code.

Syntax

C#
VB
Java
WinRT C#
C++
Public Function New( _ 
   ByVal message As String, _ 
   ByVal code As Leadtools.RasterExceptionCode _ 
) 
public RasterException(  
   string message, 
   Leadtools.RasterExceptionCode code 
) 
public RasterException( 
  String message,  
  RasterExceptionCode code 
) 
             
function RasterException(  
   message , 
   code  
) 
public: 
RasterException(  
   String^ message, 
   Leadtools.RasterExceptionCode code 
) 

Parameters

message
A String that describes the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

code
A RasterExceptionCode that specifies what caused this exception.

Remarks

A RasterExceptionCode that specifies what caused this exception. This constructor initializes the class as follows:

Member Value
Message message
Code code
InnerException null reference.
Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly