Jaa


JsonSerializationException Constructors

Definition

Overloads

JsonSerializationException()

Initializes a new instance of the JsonSerializationException class.

JsonSerializationException(String)

Initializes a new instance of the JsonSerializationException class using the specified message text.

JsonSerializationException(SerializationInfo, StreamingContext)

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

JsonSerializationException(String, Exception)

Initializes a new instance of the JsonSerializationException class with message text and inner exception.

JsonSerializationException()

Initializes a new instance of the JsonSerializationException class.

public JsonSerializationException ();
Public Sub New ()

Applies to

JsonSerializationException(String)

Initializes a new instance of the JsonSerializationException class using the specified message text.

public JsonSerializationException (string message);
new Microsoft.AnalysisServices.JsonSerializationException : string -> Microsoft.AnalysisServices.JsonSerializationException
Public Sub New (message As String)

Parameters

message
String

A System.String value that specifies the message text that describes the event that caused the exception.

Applies to

JsonSerializationException(SerializationInfo, StreamingContext)

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

protected JsonSerializationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.AnalysisServices.JsonSerializationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.AnalysisServices.JsonSerializationException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The object that holds the serialized data.

context
StreamingContext

The contextual information about the source or destination.

Applies to

JsonSerializationException(String, Exception)

Initializes a new instance of the JsonSerializationException class with message text and inner exception.

public JsonSerializationException (string message, Exception innerException);
new Microsoft.AnalysisServices.JsonSerializationException : string * Exception -> Microsoft.AnalysisServices.JsonSerializationException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The message text that describes the event that caused the exception.

innerException
Exception

The inner exception that is the cause of the current exception.

Applies to