HttpLayerException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the HttpLayerException class.
Namespace: Microsoft.Hadoop.Client
Assembly: Microsoft.Hadoop.Client (in Microsoft.Hadoop.Client.dll)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Usage
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New HttpLayerException(info, context)
protected HttpLayerException(
SerializationInfo info,
StreamingContext context
)
protected:
HttpLayerException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> HttpLayerException
protected function HttpLayerException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
The SerializationInfoSerialization information.
- context
Type: System.Runtime.Serialization.StreamingContext
The StreamingContext that provides the source and destination of a given serialized stream.