This documentation is archived and is not being maintained.

UriFormatException Constructor

.NET Framework 1.1

Initializes a new instance of the UriFormatException class.

Overload List

Initializes a new instance of the UriFormatException class.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New()
[C#] public UriFormatException();
[C++] public: UriFormatException();
[JScript] public function UriFormatException();

Initializes a new instance of the UriFormatException class with the specified message.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(String)
[C#] public UriFormatException(string);
[C++] public: UriFormatException(String*);
[JScript] public function UriFormatException(String);

Initializes a new instance of the UriFormatException class from the specified SerializationInfo and StreamingContext instances.

[Visual Basic] Protected Sub New(SerializationInfo, StreamingContext)
[C#] protected UriFormatException(SerializationInfo, StreamingContext);
[C++] protected: UriFormatException(SerializationInfo*, StreamingContext);
[JScript] protected function UriFormatException(SerializationInfo, StreamingContext);

See Also

UriFormatException Class | UriFormatException Members | System Namespace

Show: