Microsoft translator error
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to use microsoft translator and each time I am trying to create LanguageServiceClient I get an error. try { // Add the http header string headerValue = GetAccessToken(); HttpRequestMessageProperty httpRequestProperty = new HttpRequestMessageProperty(); httpRequestProperty.Method = "POST"; httpRequestProperty.Headers.Add("Authorization", headerValue); TranslatorService.LanguageServiceClient client = new TranslatorService.LanguageServiceClient(); using (OperationContextScope scope = new OperationContextScope(client.InnerChannel)) {