diff --git a/src/StreamJsonRpc.Tests/JsonRpcWithFatalExceptionsTests.cs b/src/StreamJsonRpc.Tests/JsonRpcWithFatalExceptionsTests.cs index 82a9425b..394eeeee 100644 --- a/src/StreamJsonRpc.Tests/JsonRpcWithFatalExceptionsTests.cs +++ b/src/StreamJsonRpc.Tests/JsonRpcWithFatalExceptionsTests.cs @@ -176,7 +176,7 @@ public async Task CancelExceptionPreferredOverConnectionLost() [Fact] public async Task AggregateExceptionIsNotRemovedFromAsyncMethod() { - var remoteException = await Assert.ThrowsAnyAsync(() => this.clientRpc.InvokeAsync(nameof(Server.AsyncMethodThrowsAggregateExceptionWithTwoInner))); + var remoteException = await Assert.ThrowsAnyAsync(() => this.clientRpc.InvokeWithCancellationAsync(nameof(Server.AsyncMethodThrowsAggregateExceptionWithTwoInner), cancellationToken: this.TimeoutToken)); // The async server method itself strips the second of the InnerExceptions, so we can't recover it here. // Since we only get one, we expect the inner exception (of the AggregateException) diff --git a/src/StreamJsonRpc.Tests/MessageHeaderTests.cs b/src/StreamJsonRpc.Tests/MessageHeaderTests.cs index c2323fd9..a4dbcc81 100644 --- a/src/StreamJsonRpc.Tests/MessageHeaderTests.cs +++ b/src/StreamJsonRpc.Tests/MessageHeaderTests.cs @@ -7,6 +7,7 @@ using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; +using Microsoft.VisualStudio.Threading; using StreamJsonRpc; using Xunit; using Xunit.Abstractions; @@ -111,7 +112,7 @@ public async Task SendMessageWithEncoding(string encodingName) var messageHandler = new HeaderDelimitedMessageHandler(this.clientStream, this.clientStream); var rpcClient = new JsonRpc(messageHandler); messageHandler.Encoding = Encoding.GetEncoding(encodingName); - await rpcClient.NotifyAsync("Foo"); + await rpcClient.NotifyAsync("Foo").WithCancellation(this.TimeoutToken); rpcClient.Dispose(); MemoryStream seekableServerStream = await this.GetSeekableServerStream(); @@ -119,7 +120,7 @@ public async Task SendMessageWithEncoding(string encodingName) var reader = new StreamReader(seekableServerStream, Encoding.ASCII); var headerLines = new List(); string line; - while ((line = reader.ReadLine()) != string.Empty) + while ((line = await reader.ReadLineAsync().WithCancellation(this.TimeoutToken)) != string.Empty) { headerLines.Add(line); bytesRead += line.Length + 2; // + CRLF @@ -138,14 +139,14 @@ public async Task SendMessageWithEncoding(string encodingName) // we need to reposition the stream at the start of the content to create a new StreamReader. seekableServerStream.Position = bytesRead; reader = new StreamReader(seekableServerStream, Encoding.GetEncoding(encodingName)); - string json = reader.ReadToEnd(); + string json = await reader.ReadToEndAsync().WithCancellation(this.TimeoutToken); Assert.Equal('{', json[0]); } private async Task GetSeekableServerStream() { var seekableServerStream = new MemoryStream(); - await this.serverStream.CopyToAsync(seekableServerStream); + await this.serverStream.CopyToAsync(seekableServerStream, 4096, this.TimeoutToken); seekableServerStream.Position = 0; return seekableServerStream; } diff --git a/src/StreamJsonRpc/xlf/Resources.cs.xlf b/src/StreamJsonRpc/xlf/Resources.cs.xlf index c914c51f..e1820a17 100644 --- a/src/StreamJsonRpc/xlf/Resources.cs.xlf +++ b/src/StreamJsonRpc/xlf/Resources.cs.xlf @@ -24,12 +24,12 @@ Unable to cast given Type to IProgress<T> - Unable to cast given Type to IProgress<T> + Daný typ nejde přetypovat na IProgress<T> The configuration is locked because this formatter has already been associated with a JsonRpc instance. - The configuration is locked because this formatter has already been associated with a JsonRpc instance. + Konfigurace je zamknutá, protože tento formátovací modul už je přidružený k instanci JsonRpc. @@ -39,7 +39,7 @@ This tracked object should not be part of any response or notification. - This tracked object should not be part of any response or notification. + Tento sledovaný objekt by neměl být součástí žádné odpovědi nebo oznámení. @@ -59,7 +59,7 @@ Out of band streams/pipes are not supported in this configuration. Have you set a MultiplexingStream on the formatter? - Out of band streams/pipes are not supported in this configuration. Have you set a MultiplexingStream on the formatter? + Proudy nebo kanály mimo pásmo nejsou v této konfiguraci podporované. Nastavili jste ve formátovacím modulu MultiplexingStream? @@ -74,7 +74,7 @@ Relay connection has already been established. - Relay connection has already been established. + Připojení přenosu již bylo navázáno. @@ -84,7 +84,7 @@ Response is in an unexpected format. Only error and result are supported: {0} - Response is in an unexpected format. Only error and result are supported: {0} + Odpověď je v neočekávaném formátu. Podporují se jenom chyby a výsledky: {0} {0} is the response message. diff --git a/src/StreamJsonRpc/xlf/Resources.de.xlf b/src/StreamJsonRpc/xlf/Resources.de.xlf index 389977df..ca2aa115 100644 --- a/src/StreamJsonRpc/xlf/Resources.de.xlf +++ b/src/StreamJsonRpc/xlf/Resources.de.xlf @@ -24,12 +24,12 @@ Unable to cast given Type to IProgress<T> - Unable to cast given Type to IProgress<T> + Der angegebene Typ kann nicht in IProgress<T> umgewandelt werden. The configuration is locked because this formatter has already been associated with a JsonRpc instance. - The configuration is locked because this formatter has already been associated with a JsonRpc instance. + Die Konfiguration ist gesperrt, weil dieser Formatierer bereits einer JsonRpc-Instanz zugeordnet wurde. @@ -39,7 +39,7 @@ This tracked object should not be part of any response or notification. - This tracked object should not be part of any response or notification. + Dieses nachverfolgte Objekt darf nicht Teil einer Antwort oder Benachrichtigung sein. @@ -59,7 +59,7 @@ Out of band streams/pipes are not supported in this configuration. Have you set a MultiplexingStream on the formatter? - Out of band streams/pipes are not supported in this configuration. Have you set a MultiplexingStream on the formatter? + Out-of-Band-Streams/-Pipes werden in dieser Konfiguration nicht unterstützt. Haben Sie einen MultiplexingStream für den Formatierer festgelegt? @@ -74,7 +74,7 @@ Relay connection has already been established. - Relay connection has already been established. + Die Relayverbindung wurde bereits eingerichtet. @@ -84,7 +84,7 @@ Response is in an unexpected format. Only error and result are supported: {0} - Response is in an unexpected format. Only error and result are supported: {0} + Die Antwort weist ein unerwartetes Format auf. Es werden nur Fehler und Ergebnisse unterstützt: {0} {0} is the response message. @@ -254,7 +254,7 @@ An argument was not supplied for a required parameter. - Für einen erforderlichen Parameter wurde ein Arguemt nicht angegeben. + Für einen erforderlichen Parameter wurde ein Argument nicht angegeben. diff --git a/src/StreamJsonRpc/xlf/Resources.es.xlf b/src/StreamJsonRpc/xlf/Resources.es.xlf index ab6e3145..fd071816 100644 --- a/src/StreamJsonRpc/xlf/Resources.es.xlf +++ b/src/StreamJsonRpc/xlf/Resources.es.xlf @@ -24,12 +24,12 @@ Unable to cast given Type to IProgress<T> - Unable to cast given Type to IProgress<T> + No se puede convertir el tipo dado en IProgress<T> The configuration is locked because this formatter has already been associated with a JsonRpc instance. - The configuration is locked because this formatter has already been associated with a JsonRpc instance. + La configuración está bloqueada porque este formateador ya se ha asociado a una instancia de JsonRpc. @@ -39,7 +39,7 @@ This tracked object should not be part of any response or notification. - This tracked object should not be part of any response or notification. + Este objeto con seguimiento no debe formar parte de ninguna respuesta o notificación. @@ -59,7 +59,7 @@ Out of band streams/pipes are not supported in this configuration. Have you set a MultiplexingStream on the formatter? - Out of band streams/pipes are not supported in this configuration. Have you set a MultiplexingStream on the formatter? + No se admiten los flujos o canalizaciones fuera de banda en esta configuración. ¿Ha establecido un elemento MultiplexingStream en el formateador? @@ -74,7 +74,7 @@ Relay connection has already been established. - Relay connection has already been established. + Ya se ha establecido la conexión de retransmisión. @@ -84,7 +84,7 @@ Response is in an unexpected format. Only error and result are supported: {0} - Response is in an unexpected format. Only error and result are supported: {0} + La respuesta tiene un formato no esperado. Solo se admiten errores y resultados: {0} {0} is the response message. diff --git a/src/StreamJsonRpc/xlf/Resources.fr.xlf b/src/StreamJsonRpc/xlf/Resources.fr.xlf index 0ab27c27..ec802356 100644 --- a/src/StreamJsonRpc/xlf/Resources.fr.xlf +++ b/src/StreamJsonRpc/xlf/Resources.fr.xlf @@ -24,12 +24,12 @@ Unable to cast given Type to IProgress<T> - Unable to cast given Type to IProgress<T> + Impossible de caster le type donné en IProgress<T> The configuration is locked because this formatter has already been associated with a JsonRpc instance. - The configuration is locked because this formatter has already been associated with a JsonRpc instance. + La configuration est verrouillée, car ce formateur a déjà été associé à une instance JsonRpc. @@ -39,7 +39,7 @@ This tracked object should not be part of any response or notification. - This tracked object should not be part of any response or notification. + Cet objet suivi ne doit pas faire partie d'une réponse ou d'une notification. @@ -59,7 +59,7 @@ Out of band streams/pipes are not supported in this configuration. Have you set a MultiplexingStream on the formatter? - Out of band streams/pipes are not supported in this configuration. Have you set a MultiplexingStream on the formatter? + Les flux/canaux hors bande ne sont pas pris en charge dans cette configuration. Avez-vous défini un MultiplexingStream sur le formateur ? @@ -74,7 +74,7 @@ Relay connection has already been established. - Relay connection has already been established. + La connexion au relais a déjà été établie. @@ -84,7 +84,7 @@ Response is in an unexpected format. Only error and result are supported: {0} - Response is in an unexpected format. Only error and result are supported: {0} + Le format de la réponse est inattendu. Seuls l'erreur et le résultat sont pris en charge : {0} {0} is the response message. diff --git a/src/StreamJsonRpc/xlf/Resources.it.xlf b/src/StreamJsonRpc/xlf/Resources.it.xlf index a914ec3a..34e6b1d9 100644 --- a/src/StreamJsonRpc/xlf/Resources.it.xlf +++ b/src/StreamJsonRpc/xlf/Resources.it.xlf @@ -24,12 +24,12 @@ Unable to cast given Type to IProgress<T> - Unable to cast given Type to IProgress<T> + Non è possibile eseguire il cast del tipo specificato in IProgress<T> The configuration is locked because this formatter has already been associated with a JsonRpc instance. - The configuration is locked because this formatter has already been associated with a JsonRpc instance. + La configurazione è bloccata perché questo formattatore è già stato associato a un'istanza di JsonRpc. @@ -39,7 +39,7 @@ This tracked object should not be part of any response or notification. - This tracked object should not be part of any response or notification. + Questo oggetto rilevato non deve far parte di alcuna risposta o notifica. @@ -59,7 +59,7 @@ Out of band streams/pipes are not supported in this configuration. Have you set a MultiplexingStream on the formatter? - Out of band streams/pipes are not supported in this configuration. Have you set a MultiplexingStream on the formatter? + I flussi e/o le pipe fuori banda non sono supportati in questa configurazione. È stato impostato un elemento MultiplexingStream sul formattatore? @@ -74,7 +74,7 @@ Relay connection has already been established. - Relay connection has already been established. + La connessione di inoltro è già stata stabilita. @@ -84,7 +84,7 @@ Response is in an unexpected format. Only error and result are supported: {0} - Response is in an unexpected format. Only error and result are supported: {0} + Il formato della risposta è imprevisto. Sono supportati solo l'errore e il risultato: {0} {0} is the response message. diff --git a/src/StreamJsonRpc/xlf/Resources.ja.xlf b/src/StreamJsonRpc/xlf/Resources.ja.xlf index 52bc98e8..3b87700e 100644 --- a/src/StreamJsonRpc/xlf/Resources.ja.xlf +++ b/src/StreamJsonRpc/xlf/Resources.ja.xlf @@ -24,12 +24,12 @@ Unable to cast given Type to IProgress<T> - Unable to cast given Type to IProgress<T> + 指定された型は IProgress<T> にキャストできません The configuration is locked because this formatter has already been associated with a JsonRpc instance. - The configuration is locked because this formatter has already been associated with a JsonRpc instance. + このフォーマッタは既に JsonRpc インスタンスに関連付けられているため、構成はロックされています。 @@ -39,7 +39,7 @@ This tracked object should not be part of any response or notification. - This tracked object should not be part of any response or notification. + 追跡されたこのオブジェクトを応答や通知の一部にすることはできません。 @@ -59,7 +59,7 @@ Out of band streams/pipes are not supported in this configuration. Have you set a MultiplexingStream on the formatter? - Out of band streams/pipes are not supported in this configuration. Have you set a MultiplexingStream on the formatter? + 帯域外のストリームやパイプはこの構成ではサポートされていません。フォーマッタに MultiplexingStream を設定しましたか? @@ -74,7 +74,7 @@ Relay connection has already been established. - Relay connection has already been established. + リレー接続は既に確立されています。 @@ -84,7 +84,7 @@ Response is in an unexpected format. Only error and result are supported: {0} - Response is in an unexpected format. Only error and result are supported: {0} + 応答が予期しない形式です。エラーと結果のみがサポートされています: {0} {0} is the response message. diff --git a/src/StreamJsonRpc/xlf/Resources.ko.xlf b/src/StreamJsonRpc/xlf/Resources.ko.xlf index bf742347..4959211c 100644 --- a/src/StreamJsonRpc/xlf/Resources.ko.xlf +++ b/src/StreamJsonRpc/xlf/Resources.ko.xlf @@ -24,12 +24,12 @@ Unable to cast given Type to IProgress<T> - Unable to cast given Type to IProgress<T> + 지정된 형식을 IProgress로 캐스팅할 수 없음<T> The configuration is locked because this formatter has already been associated with a JsonRpc instance. - The configuration is locked because this formatter has already been associated with a JsonRpc instance. + 이 포맷터가 이미 JsonRpc 인스턴스와 연결되어 있기 때문에 구성이 잠겼습니다. @@ -39,7 +39,7 @@ This tracked object should not be part of any response or notification. - This tracked object should not be part of any response or notification. + 이 추적된 개체는 응답 또는 알림의 일부일 수 없습니다. @@ -59,7 +59,7 @@ Out of band streams/pipes are not supported in this configuration. Have you set a MultiplexingStream on the formatter? - Out of band streams/pipes are not supported in this configuration. Have you set a MultiplexingStream on the formatter? + 이 구성에서는 대역 외 스트림/파이프가 지원되지 않습니다. 포맷터에 MultiplexingStream을 설정하셨습니까? @@ -74,7 +74,7 @@ Relay connection has already been established. - Relay connection has already been established. + 릴레이 연결이 이미 설정되었습니다. @@ -84,7 +84,7 @@ Response is in an unexpected format. Only error and result are supported: {0} - Response is in an unexpected format. Only error and result are supported: {0} + 예기치 않은 형식의 응답입니다. 오류 및 결과만 지원됨: {0} {0} is the response message. diff --git a/src/StreamJsonRpc/xlf/Resources.pl.xlf b/src/StreamJsonRpc/xlf/Resources.pl.xlf index ae0ea730..7decaaa1 100644 --- a/src/StreamJsonRpc/xlf/Resources.pl.xlf +++ b/src/StreamJsonRpc/xlf/Resources.pl.xlf @@ -24,12 +24,12 @@ Unable to cast given Type to IProgress<T> - Unable to cast given Type to IProgress<T> + Nie można rzutować danego typu na typ IProgress<T> The configuration is locked because this formatter has already been associated with a JsonRpc instance. - The configuration is locked because this formatter has already been associated with a JsonRpc instance. + Konfiguracja jest zablokowana, ponieważ ten program formatujący został już skojarzony z wystąpieniem JsonRpc. @@ -39,7 +39,7 @@ This tracked object should not be part of any response or notification. - This tracked object should not be part of any response or notification. + Ten śledzony obiekt nie powinien być częścią żadnej odpowiedzi ani powiadomienia. @@ -59,7 +59,7 @@ Out of band streams/pipes are not supported in this configuration. Have you set a MultiplexingStream on the formatter? - Out of band streams/pipes are not supported in this configuration. Have you set a MultiplexingStream on the formatter? + Strumienie/potoki poza pasmem nie są obsługiwane w tej konfiguracji. Czy element MultiplexingStream został ustawiony w programie formatującym? @@ -74,7 +74,7 @@ Relay connection has already been established. - Relay connection has already been established. + Połączenie przekazywania zostało już ustanowione. @@ -84,7 +84,7 @@ Response is in an unexpected format. Only error and result are supported: {0} - Response is in an unexpected format. Only error and result are supported: {0} + Odpowiedź ma nieoczekiwany format. Obsługiwane są tylko błędy i wyniki: {0} {0} is the response message. diff --git a/src/StreamJsonRpc/xlf/Resources.pt-BR.xlf b/src/StreamJsonRpc/xlf/Resources.pt-BR.xlf index b9ca7a39..0c03a51f 100644 --- a/src/StreamJsonRpc/xlf/Resources.pt-BR.xlf +++ b/src/StreamJsonRpc/xlf/Resources.pt-BR.xlf @@ -24,12 +24,12 @@ Unable to cast given Type to IProgress<T> - Unable to cast given Type to IProgress<T> + Não é possível converter o Tipo fornecido em IProgress<T> The configuration is locked because this formatter has already been associated with a JsonRpc instance. - The configuration is locked because this formatter has already been associated with a JsonRpc instance. + A configuração está bloqueada porque este formatador já foi associado a uma instância de JsonRpc. @@ -39,7 +39,7 @@ This tracked object should not be part of any response or notification. - This tracked object should not be part of any response or notification. + Esse objeto rastreado não deve fazer parte de nenhuma resposta ou notificação. @@ -59,7 +59,7 @@ Out of band streams/pipes are not supported in this configuration. Have you set a MultiplexingStream on the formatter? - Out of band streams/pipes are not supported in this configuration. Have you set a MultiplexingStream on the formatter? + Não há suporte para fluxos ou pipes fora de banda nesta configuração. Você definiu um MultiplexingStream no formatador? @@ -74,7 +74,7 @@ Relay connection has already been established. - Relay connection has already been established. + A conexão de retransmissão já foi estabelecida. @@ -84,7 +84,7 @@ Response is in an unexpected format. Only error and result are supported: {0} - Response is in an unexpected format. Only error and result are supported: {0} + A resposta está em um formato inesperado. Há suporte somente para erro e resultado: {0} {0} is the response message. diff --git a/src/StreamJsonRpc/xlf/Resources.ru.xlf b/src/StreamJsonRpc/xlf/Resources.ru.xlf index df474de9..b15a3fa9 100644 --- a/src/StreamJsonRpc/xlf/Resources.ru.xlf +++ b/src/StreamJsonRpc/xlf/Resources.ru.xlf @@ -24,12 +24,12 @@ Unable to cast given Type to IProgress<T> - Unable to cast given Type to IProgress<T> + Не удалось привести указанный тип к IProgress<T> The configuration is locked because this formatter has already been associated with a JsonRpc instance. - The configuration is locked because this formatter has already been associated with a JsonRpc instance. + Конфигурация заблокирована, так как этот модуль форматирования уже связан с экземпляром JsonRpc. @@ -39,7 +39,7 @@ This tracked object should not be part of any response or notification. - This tracked object should not be part of any response or notification. + Этот отслеживаемый объект не должен входить ни в один ответ и ни в одно уведомление. @@ -59,7 +59,7 @@ Out of band streams/pipes are not supported in this configuration. Have you set a MultiplexingStream on the formatter? - Out of band streams/pipes are not supported in this configuration. Have you set a MultiplexingStream on the formatter? + Потоки или каналы, находящиеся вне диапазона, не поддерживаются в этой конфигурации. Вы установили MultiplexingStream для модуля форматирования? @@ -74,7 +74,7 @@ Relay connection has already been established. - Relay connection has already been established. + Подключение к ретрансляции уже установлено. @@ -84,7 +84,7 @@ Response is in an unexpected format. Only error and result are supported: {0} - Response is in an unexpected format. Only error and result are supported: {0} + Непредвиденный формат ответа. Поддерживаются только ошибки и результаты: {0} {0} is the response message. diff --git a/src/StreamJsonRpc/xlf/Resources.tr.xlf b/src/StreamJsonRpc/xlf/Resources.tr.xlf index a5800367..bff66b25 100644 --- a/src/StreamJsonRpc/xlf/Resources.tr.xlf +++ b/src/StreamJsonRpc/xlf/Resources.tr.xlf @@ -24,12 +24,12 @@ Unable to cast given Type to IProgress<T> - Unable to cast given Type to IProgress<T> + Verilen Tür IProgress<T> olarak atanamıyor The configuration is locked because this formatter has already been associated with a JsonRpc instance. - The configuration is locked because this formatter has already been associated with a JsonRpc instance. + Bu biçimlendirici bir JsonRpc örneğiyle zaten ilişkili olduğundan yapılandırma kilitli. @@ -39,7 +39,7 @@ This tracked object should not be part of any response or notification. - This tracked object should not be part of any response or notification. + Bu izlenen nesne herhangi bir yanıtın veya bildirimin parçası olmamalıdır. @@ -59,7 +59,7 @@ Out of band streams/pipes are not supported in this configuration. Have you set a MultiplexingStream on the formatter? - Out of band streams/pipes are not supported in this configuration. Have you set a MultiplexingStream on the formatter? + Bu yapılandırmada bant dışı akışlar/yöneltmeler desteklenmiyor. Biçimlendirici üzerinde bir MultiplexingStream ayarladınız mı? @@ -74,7 +74,7 @@ Relay connection has already been established. - Relay connection has already been established. + Geçiş bağlantısı zaten kuruldu. @@ -84,7 +84,7 @@ Response is in an unexpected format. Only error and result are supported: {0} - Response is in an unexpected format. Only error and result are supported: {0} + Yanıt beklenmeyen bir biçimde. Yalnızca hata ve sonuç desteklenir: {0} {0} is the response message. diff --git a/src/StreamJsonRpc/xlf/Resources.zh-Hans.xlf b/src/StreamJsonRpc/xlf/Resources.zh-Hans.xlf index c989e372..3e8f2d63 100644 --- a/src/StreamJsonRpc/xlf/Resources.zh-Hans.xlf +++ b/src/StreamJsonRpc/xlf/Resources.zh-Hans.xlf @@ -24,12 +24,12 @@ Unable to cast given Type to IProgress<T> - Unable to cast given Type to IProgress<T> + 无法将给定类型强制转换为 IProgress<T> The configuration is locked because this formatter has already been associated with a JsonRpc instance. - The configuration is locked because this formatter has already been associated with a JsonRpc instance. + 配置已锁定,因为此格式化程序已与 JsonRpc 实例关联。 @@ -39,7 +39,7 @@ This tracked object should not be part of any response or notification. - This tracked object should not be part of any response or notification. + 此跟踪对象不应是任何响应或通知的一部分。 @@ -59,7 +59,7 @@ Out of band streams/pipes are not supported in this configuration. Have you set a MultiplexingStream on the formatter? - Out of band streams/pipes are not supported in this configuration. Have you set a MultiplexingStream on the formatter? + 此配置中不支持带外流/管道。是否在格式化程序上设置了 MultiplexingStream? @@ -74,7 +74,7 @@ Relay connection has already been established. - Relay connection has already been established. + 已建立中继连接。 @@ -84,7 +84,7 @@ Response is in an unexpected format. Only error and result are supported: {0} - Response is in an unexpected format. Only error and result are supported: {0} + 响应为意外格式。仅支持错误和结果: {0} {0} is the response message. diff --git a/src/StreamJsonRpc/xlf/Resources.zh-Hant.xlf b/src/StreamJsonRpc/xlf/Resources.zh-Hant.xlf index 8f02032f..8051c457 100644 --- a/src/StreamJsonRpc/xlf/Resources.zh-Hant.xlf +++ b/src/StreamJsonRpc/xlf/Resources.zh-Hant.xlf @@ -24,12 +24,12 @@ Unable to cast given Type to IProgress<T> - Unable to cast given Type to IProgress<T> + 無法將指定的類型轉換為 IProgress<T> The configuration is locked because this formatter has already been associated with a JsonRpc instance. - The configuration is locked because this formatter has already been associated with a JsonRpc instance. + 設定已鎖定,因為這個格式器已經與 JsonRpc 執行個體建立關聯。 @@ -39,7 +39,7 @@ This tracked object should not be part of any response or notification. - This tracked object should not be part of any response or notification. + 追蹤的這個物件不應為任何回應或通知的一部分。 @@ -59,7 +59,7 @@ Out of band streams/pipes are not supported in this configuration. Have you set a MultiplexingStream on the formatter? - Out of band streams/pipes are not supported in this configuration. Have you set a MultiplexingStream on the formatter? + 此設定不支援頻外資料流/管道。要在格式器上設定 MultiplexingStream 嗎? @@ -74,7 +74,7 @@ Relay connection has already been established. - Relay connection has already been established. + 已建立轉送連線。 @@ -84,7 +84,7 @@ Response is in an unexpected format. Only error and result are supported: {0} - Response is in an unexpected format. Only error and result are supported: {0} + 回應採用了非預期的格式。只支援錯誤和結果: {0} {0} is the response message.