CodeCarvings.Piczard
InvalidSourceException Constructor(String,Exception)
See Also  Send Feedback
CodeCarvings.Piczard Namespace > InvalidSourceException Class > InvalidSourceException Constructor : InvalidSourceException Constructor(String,Exception)

message
The message that describes the error.
innerException
The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.
Initializes a new instance of the InvalidSourceException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Syntax

Visual Basic (Declaration)  
Public Function New( _
   ByVal message As String, _
   ByVal innerException As Exception _
)
C#  
public InvalidSourceException( 
   string message,
   Exception innerException
)

Parameters

message
The message that describes the error.
innerException
The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.