Partager via


JsonRpcDisconnectedEventArgs Constructeurs

Définition

Surcharges

JsonRpcDisconnectedEventArgs(String, DisconnectedReason)

Initialise une nouvelle instance de la classe JsonRpcDisconnectedEventArgs.

JsonRpcDisconnectedEventArgs(String, DisconnectedReason, JToken)
Obsolète.
Obsolète.

Initialise une nouvelle instance de la classe JsonRpcDisconnectedEventArgs.

JsonRpcDisconnectedEventArgs(String, DisconnectedReason, Exception)

Initialise une nouvelle instance de la classe JsonRpcDisconnectedEventArgs.

JsonRpcDisconnectedEventArgs(String, DisconnectedReason, String)

Initialise une nouvelle instance de la classe JsonRpcDisconnectedEventArgs.

JsonRpcDisconnectedEventArgs(String, DisconnectedReason, JToken, Exception)
Obsolète.
Obsolète.

Initialise une nouvelle instance de la classe JsonRpcDisconnectedEventArgs.

JsonRpcDisconnectedEventArgs(String, DisconnectedReason, String, Exception)

Initialise une nouvelle instance de la classe JsonRpcDisconnectedEventArgs.

JsonRpcDisconnectedEventArgs(String, DisconnectedReason)

Initialise une nouvelle instance de la classe JsonRpcDisconnectedEventArgs.

public JsonRpcDisconnectedEventArgs (string description, StreamJsonRpc.DisconnectedReason reason);
new StreamJsonRpc.JsonRpcDisconnectedEventArgs : string * StreamJsonRpc.DisconnectedReason -> StreamJsonRpc.JsonRpcDisconnectedEventArgs
Public Sub New (description As String, reason As DisconnectedReason)

Paramètres

description
String

Description.

reason
DisconnectedReason

Raison de la déconnexion.

S’applique à

JsonRpcDisconnectedEventArgs(String, DisconnectedReason, JToken)

Attention

Cette API est à présent déconseillée.

Attention

Avoid overloads that assume the message is exchanged by JToken.

Initialise une nouvelle instance de la classe JsonRpcDisconnectedEventArgs.

public JsonRpcDisconnectedEventArgs (string description, StreamJsonRpc.DisconnectedReason reason, Newtonsoft.Json.Linq.JToken lastMessage);
public JsonRpcDisconnectedEventArgs (string description, StreamJsonRpc.DisconnectedReason reason, Newtonsoft.Json.Linq.JToken? lastMessage);
[System.Obsolete]
public JsonRpcDisconnectedEventArgs (string description, StreamJsonRpc.DisconnectedReason reason, Newtonsoft.Json.Linq.JToken? lastMessage);
[System.Obsolete("Avoid overloads that assume the message is exchanged by JToken.")]
public JsonRpcDisconnectedEventArgs (string description, StreamJsonRpc.DisconnectedReason reason, Newtonsoft.Json.Linq.JToken? lastMessage);
new StreamJsonRpc.JsonRpcDisconnectedEventArgs : string * StreamJsonRpc.DisconnectedReason * Newtonsoft.Json.Linq.JToken -> StreamJsonRpc.JsonRpcDisconnectedEventArgs
[<System.Obsolete>]
new StreamJsonRpc.JsonRpcDisconnectedEventArgs : string * StreamJsonRpc.DisconnectedReason * Newtonsoft.Json.Linq.JToken -> StreamJsonRpc.JsonRpcDisconnectedEventArgs
[<System.Obsolete("Avoid overloads that assume the message is exchanged by JToken.")>]
new StreamJsonRpc.JsonRpcDisconnectedEventArgs : string * StreamJsonRpc.DisconnectedReason * Newtonsoft.Json.Linq.JToken -> StreamJsonRpc.JsonRpcDisconnectedEventArgs
Public Sub New (description As String, reason As DisconnectedReason, lastMessage As JToken)

Paramètres

description
String

Description.

reason
DisconnectedReason

Raison de la déconnexion.

lastMessage
Newtonsoft.Json.Linq.JToken

Dernier message.

Attributs

S’applique à

JsonRpcDisconnectedEventArgs(String, DisconnectedReason, Exception)

Initialise une nouvelle instance de la classe JsonRpcDisconnectedEventArgs.

public JsonRpcDisconnectedEventArgs (string description, StreamJsonRpc.DisconnectedReason reason, Exception exception);
public JsonRpcDisconnectedEventArgs (string description, StreamJsonRpc.DisconnectedReason reason, Exception? exception);
new StreamJsonRpc.JsonRpcDisconnectedEventArgs : string * StreamJsonRpc.DisconnectedReason * Exception -> StreamJsonRpc.JsonRpcDisconnectedEventArgs
Public Sub New (description As String, reason As DisconnectedReason, exception As Exception)

Paramètres

description
String

Description.

reason
DisconnectedReason

Raison de la déconnexion.

exception
Exception

Exception.

S’applique à

JsonRpcDisconnectedEventArgs(String, DisconnectedReason, String)

Initialise une nouvelle instance de la classe JsonRpcDisconnectedEventArgs.

public JsonRpcDisconnectedEventArgs (string description, StreamJsonRpc.DisconnectedReason reason, string lastMessage);
new StreamJsonRpc.JsonRpcDisconnectedEventArgs : string * StreamJsonRpc.DisconnectedReason * string -> StreamJsonRpc.JsonRpcDisconnectedEventArgs
Public Sub New (description As String, reason As DisconnectedReason, lastMessage As String)

Paramètres

description
String

Description.

reason
DisconnectedReason

Raison de la déconnexion.

lastMessage
String

Dernier message.

S’applique à

JsonRpcDisconnectedEventArgs(String, DisconnectedReason, JToken, Exception)

Attention

Cette API est à présent déconseillée.

Attention

Avoid overloads that assume the message is exchanged by JToken.

Initialise une nouvelle instance de la classe JsonRpcDisconnectedEventArgs.

public JsonRpcDisconnectedEventArgs (string description, StreamJsonRpc.DisconnectedReason reason, Newtonsoft.Json.Linq.JToken lastMessage, Exception exception);
public JsonRpcDisconnectedEventArgs (string description, StreamJsonRpc.DisconnectedReason reason, Newtonsoft.Json.Linq.JToken? lastMessage, Exception? exception);
[System.Obsolete]
public JsonRpcDisconnectedEventArgs (string description, StreamJsonRpc.DisconnectedReason reason, Newtonsoft.Json.Linq.JToken? lastMessage, Exception? exception);
[System.Obsolete("Avoid overloads that assume the message is exchanged by JToken.")]
public JsonRpcDisconnectedEventArgs (string description, StreamJsonRpc.DisconnectedReason reason, Newtonsoft.Json.Linq.JToken? lastMessage, Exception? exception);
new StreamJsonRpc.JsonRpcDisconnectedEventArgs : string * StreamJsonRpc.DisconnectedReason * Newtonsoft.Json.Linq.JToken * Exception -> StreamJsonRpc.JsonRpcDisconnectedEventArgs
[<System.Obsolete>]
new StreamJsonRpc.JsonRpcDisconnectedEventArgs : string * StreamJsonRpc.DisconnectedReason * Newtonsoft.Json.Linq.JToken * Exception -> StreamJsonRpc.JsonRpcDisconnectedEventArgs
[<System.Obsolete("Avoid overloads that assume the message is exchanged by JToken.")>]
new StreamJsonRpc.JsonRpcDisconnectedEventArgs : string * StreamJsonRpc.DisconnectedReason * Newtonsoft.Json.Linq.JToken * Exception -> StreamJsonRpc.JsonRpcDisconnectedEventArgs
Public Sub New (description As String, reason As DisconnectedReason, lastMessage As JToken, exception As Exception)

Paramètres

description
String

Description.

reason
DisconnectedReason

Raison de la déconnexion.

lastMessage
Newtonsoft.Json.Linq.JToken

Dernier message.

exception
Exception

Exception.

Attributs

S’applique à

JsonRpcDisconnectedEventArgs(String, DisconnectedReason, String, Exception)

Initialise une nouvelle instance de la classe JsonRpcDisconnectedEventArgs.

public JsonRpcDisconnectedEventArgs (string description, StreamJsonRpc.DisconnectedReason reason, string lastMessage, Exception exception);
new StreamJsonRpc.JsonRpcDisconnectedEventArgs : string * StreamJsonRpc.DisconnectedReason * string * Exception -> StreamJsonRpc.JsonRpcDisconnectedEventArgs
Public Sub New (description As String, reason As DisconnectedReason, lastMessage As String, exception As Exception)

Paramètres

description
String

Description.

reason
DisconnectedReason

Raison de la déconnexion.

lastMessage
String

Dernier message.

exception
Exception

Exception.

S’applique à