C# Uri Uri(SerializationInfo, StreamingContext)

Description

Uri Uri(SerializationInfo, StreamingContext) initializes a new instance of the Uri class from the specified instances of the SerializationInfo and StreamingContext classes.

Syntax

Uri.Uri(SerializationInfo, StreamingContext) has the following syntax.


protected Uri(
  SerializationInfo serializationInfo,
  StreamingContext streamingContext
)

Parameters

Uri.Uri(SerializationInfo, StreamingContext) has the following parameters.

  • serializationInfo - An instance of the SerializationInfo class containing the information required to serialize the new Uri instance.
  • streamingContext - An instance of the StreamingContext class containing the source of the serialized stream associated with the new Uri instance.




















Home »
  C# Tutorial »
    System »




Array
BitConverter
Boolean
Byte
Char
Console
ConsoleKeyInfo
Convert
DateTime
DateTimeOffset
Decimal
Double
Enum
Environment
Exception
Guid
Int16
Int32
Int64
Math
OperatingSystem
Random
SByte
Single
String
StringComparer
TimeSpan
TimeZone
TimeZoneInfo
Tuple
Tuple
Tuple
Type
UInt16
UInt32
UInt64
Uri
Version