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


Xceed.SSH.Core Assembly > Xceed.SSH.Core Namespace > InvalidCharacterException Class > InvalidCharacterException Constructor : InvalidCharacterException Constructor(Char,String)
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 invalid character and the host name containing the invalid character.
Syntax
'Declaration
 
Public Function New( _

   ByVal invalidChar As Char, _

   ByVal hostString As String _

)
'Usage
 
Dim invalidChar As Char

Dim hostString As String

 

Dim instance As New InvalidCharacterException(invalidChar, hostString)
public InvalidCharacterException( 

   char invalidChar,

   string hostString

)

Parameters

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