ISerializable.GetObjectData Method
Collapse the table of content
Expand the table of content

UriFormatException.ISerializable.GetObjectData Method (SerializationInfo, StreamingContext)

.NET Framework (current version)
 

This API supports the product infrastructure and is not intended to be used directly from your code.

Populates a SerializationInfo instance with the data that is needed to serialize the UriFormatException.

Namespace:   System
Assembly:  System (in System.dll)

private abstract GetObjectData : 
        serializationInfo:SerializationInfo *
        streamingContext:StreamingContext -> unit
private override GetObjectData : 
        serializationInfo:SerializationInfo *
        streamingContext:StreamingContext -> unit

Parameters

serializationInfo
Type: System.Runtime.Serialization.SerializationInfo

A SerializationInfo that will hold the serialized data for the UriFormatException.

streamingContext
Type: System.Runtime.Serialization.StreamingContext

A StreamingContext that contains the destination of the serialized stream that is associated with the new UriFormatException.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft