JsonRpcDisconnectedEventArgs Constructores
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
JsonRpcDisconnectedEventArgs(String, DisconnectedReason) |
Inicializa una nueva instancia de la clase JsonRpcDisconnectedEventArgs. |
JsonRpcDisconnectedEventArgs(String, DisconnectedReason, JToken) |
Obsoletos.
Obsoletos.
Inicializa una nueva instancia de la clase JsonRpcDisconnectedEventArgs. |
JsonRpcDisconnectedEventArgs(String, DisconnectedReason, Exception) |
Inicializa una nueva instancia de la clase JsonRpcDisconnectedEventArgs. |
JsonRpcDisconnectedEventArgs(String, DisconnectedReason, String) |
Inicializa una nueva instancia de la clase JsonRpcDisconnectedEventArgs. |
JsonRpcDisconnectedEventArgs(String, DisconnectedReason, JToken, Exception) |
Obsoletos.
Obsoletos.
Inicializa una nueva instancia de la clase JsonRpcDisconnectedEventArgs. |
JsonRpcDisconnectedEventArgs(String, DisconnectedReason, String, Exception) |
Inicializa una nueva instancia de la clase JsonRpcDisconnectedEventArgs. |
JsonRpcDisconnectedEventArgs(String, DisconnectedReason)
Inicializa una nueva instancia de la clase 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)
Parámetros
- description
- String
La descripción.
- reason
- DisconnectedReason
Motivo de la desconexión.
Se aplica a
JsonRpcDisconnectedEventArgs(String, DisconnectedReason, JToken)
Precaución
Esta API ya está en desuso.
Precaución
Avoid overloads that assume the message is exchanged by JToken.
Inicializa una nueva instancia de la clase 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)
Parámetros
- description
- String
La descripción.
- reason
- DisconnectedReason
Motivo de la desconexión.
- lastMessage
- Newtonsoft.Json.Linq.JToken
El último mensaje.
- Atributos
Se aplica a
JsonRpcDisconnectedEventArgs(String, DisconnectedReason, Exception)
Inicializa una nueva instancia de la clase 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)
Parámetros
- description
- String
La descripción.
- reason
- DisconnectedReason
Motivo de la desconexión.
- exception
- Exception
Excepción.
Se aplica a
JsonRpcDisconnectedEventArgs(String, DisconnectedReason, String)
Inicializa una nueva instancia de la clase 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)
Parámetros
- description
- String
La descripción.
- reason
- DisconnectedReason
Motivo de la desconexión.
- lastMessage
- String
El último mensaje.
Se aplica a
JsonRpcDisconnectedEventArgs(String, DisconnectedReason, JToken, Exception)
Precaución
Esta API ya está en desuso.
Precaución
Avoid overloads that assume the message is exchanged by JToken.
Inicializa una nueva instancia de la clase 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)
Parámetros
- description
- String
La descripción.
- reason
- DisconnectedReason
Motivo de la desconexión.
- lastMessage
- Newtonsoft.Json.Linq.JToken
El último mensaje.
- exception
- Exception
Excepción.
- Atributos
Se aplica a
JsonRpcDisconnectedEventArgs(String, DisconnectedReason, String, Exception)
Inicializa una nueva instancia de la clase 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)
Parámetros
- description
- String
La descripción.
- reason
- DisconnectedReason
Motivo de la desconexión.
- lastMessage
- String
El último mensaje.
- exception
- Exception
Excepción.