Xceed .NET Libraries Documentation
InvalidCharacterException Constructor(String,Char,String)


Xceed.SSH.Core Assembly > Xceed.SSH.Core Namespace > InvalidCharacterException Class > InvalidCharacterException Constructor : InvalidCharacterException Constructor(String,Char,String)
A string representing the text message to display.
A char representing the invalid character.
A string representing the host name containing the invalid character.
Initializes a new instance of the InvalidCharacterException class, specifying the message text, the invalid character and the host name containing the invalid character.
Syntax
'Declaration
 
Public Function New( _
   ByVal message As String, _
   ByVal invalidChar As Char, _
   ByVal hostString As String _
)
'Usage
 
Dim message As String
Dim invalidChar As Char
Dim hostString As String
 
Dim instance As New InvalidCharacterException(message, invalidChar, hostString)
public InvalidCharacterException( 
   string message,
   char invalidChar,
   string hostString
)

Parameters

message
A string representing the text message to display.
invalidChar
A char representing the invalid character.
hostString
A string representing the host name containing the invalid character.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

InvalidCharacterException Class
InvalidCharacterException Members
Overload List