RequestFailedException Constructor

Initializes a new instance of the RequestFailedException class with serialized data.

Namespace: Microsoft.IdentityServer.Web
Assembly: Microsoft.IdentityServer (in Microsoft.IdentityServer)

Usage

'Usage
Dim info As SerializationInfo
Dim context As StreamingContext

Dim instance As New RequestFailedException(info, context)

Syntax

'Declaration
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
protected RequestFailedException (
    SerializationInfo info,
    StreamingContext context
)
protected:
RequestFailedException (
    SerializationInfo^ info, 
    StreamingContext context
)
protected RequestFailedException (
    SerializationInfo info, 
    StreamingContext context
)
protected function RequestFailedException (
    info : SerializationInfo, 
    context : StreamingContext
)

Parameters

  • info
    A SerializationInfo object that holds the serialized object data about the exception being thrown.
  • context
    A StreamingContext object that contains the contextual information about the source or destination.

Remarks

This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.

Platforms

Development Platforms

Windows Server 2008, Windows Server 2008 R2

Target Platforms

Windows Server 2008, Windows Server 2008 R2

See Also

Reference

RequestFailedException Class
RequestFailedException Members
Microsoft.IdentityServer.Web Namespace