Udostępnij za pośrednictwem


JsonRpcDisconnectedEventArgs Konstruktory

Definicja

Przeciążenia

JsonRpcDisconnectedEventArgs(String, DisconnectedReason)

Inicjuje nowe wystąpienie klasy JsonRpcDisconnectedEventArgs.

JsonRpcDisconnectedEventArgs(String, DisconnectedReason, JToken)
Przestarzałe.
Przestarzałe.

Inicjuje nowe wystąpienie klasy JsonRpcDisconnectedEventArgs.

JsonRpcDisconnectedEventArgs(String, DisconnectedReason, Exception)

Inicjuje nowe wystąpienie klasy JsonRpcDisconnectedEventArgs.

JsonRpcDisconnectedEventArgs(String, DisconnectedReason, String)

Inicjuje nowe wystąpienie klasy JsonRpcDisconnectedEventArgs.

JsonRpcDisconnectedEventArgs(String, DisconnectedReason, JToken, Exception)
Przestarzałe.
Przestarzałe.

Inicjuje nowe wystąpienie klasy JsonRpcDisconnectedEventArgs.

JsonRpcDisconnectedEventArgs(String, DisconnectedReason, String, Exception)

Inicjuje nowe wystąpienie klasy JsonRpcDisconnectedEventArgs.

JsonRpcDisconnectedEventArgs(String, DisconnectedReason)

Inicjuje nowe wystąpienie klasy 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)

Parametry

description
String

Opis.

reason
DisconnectedReason

Przyczyna rozłączenia.

Dotyczy

JsonRpcDisconnectedEventArgs(String, DisconnectedReason, JToken)

Przestroga

Ten interfejs API jest już przestarzały.

Przestroga

Avoid overloads that assume the message is exchanged by JToken.

Inicjuje nowe wystąpienie klasy 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)

Parametry

description
String

Opis.

reason
DisconnectedReason

Przyczyna rozłączenia.

lastMessage
Newtonsoft.Json.Linq.JToken

Ostatnia wiadomość.

Atrybuty

Dotyczy

JsonRpcDisconnectedEventArgs(String, DisconnectedReason, Exception)

Inicjuje nowe wystąpienie klasy 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)

Parametry

description
String

Opis.

reason
DisconnectedReason

Przyczyna rozłączenia.

exception
Exception

Wyjątek.

Dotyczy

JsonRpcDisconnectedEventArgs(String, DisconnectedReason, String)

Inicjuje nowe wystąpienie klasy 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)

Parametry

description
String

Opis.

reason
DisconnectedReason

Przyczyna rozłączenia.

lastMessage
String

Ostatnia wiadomość.

Dotyczy

JsonRpcDisconnectedEventArgs(String, DisconnectedReason, JToken, Exception)

Przestroga

Ten interfejs API jest już przestarzały.

Przestroga

Avoid overloads that assume the message is exchanged by JToken.

Inicjuje nowe wystąpienie klasy 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)

Parametry

description
String

Opis.

reason
DisconnectedReason

Przyczyna rozłączenia.

lastMessage
Newtonsoft.Json.Linq.JToken

Ostatnia wiadomość.

exception
Exception

Wyjątek.

Atrybuty

Dotyczy

JsonRpcDisconnectedEventArgs(String, DisconnectedReason, String, Exception)

Inicjuje nowe wystąpienie klasy 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)

Parametry

description
String

Opis.

reason
DisconnectedReason

Przyczyna rozłączenia.

lastMessage
String

Ostatnia wiadomość.

exception
Exception

Wyjątek.

Dotyczy