LanguageService.AddTranslation Method
Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics.MicrosoftTranslationService
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)
Usage
'Usage
Dim instance As LanguageService
Dim appId As String
Dim originalText As String
Dim translatedText As String
Dim from As String
Dim to As String
Dim rating As Integer
Dim contentType As String
Dim category As String
Dim user As String
Dim uri As String
instance.AddTranslation(appId, originalText, translatedText, from, to, rating, contentType, category, user, uri)
Syntax
'Declaration
<OperationContractAttribute(Action:="http://api.microsofttranslator.com/V2/LanguageService/AddTranslation", ReplyAction:="http://api.microsofttranslator.com/V2/LanguageService/AddTranslationResponse")> _
Sub AddTranslation ( _
appId As String, _
originalText As String, _
translatedText As String, _
from As String, _
to As String, _
rating As Integer, _
contentType As String, _
category As String, _
user As String, _
uri As String _
)
[OperationContractAttribute(Action="http://api.microsofttranslator.com/V2/LanguageService/AddTranslation", ReplyAction="http://api.microsofttranslator.com/V2/LanguageService/AddTranslationResponse")]
void AddTranslation (
string appId,
string originalText,
string translatedText,
string from,
string to,
int rating,
string contentType,
string category,
string user,
string uri
)
[OperationContractAttribute(Action=L"http://api.microsofttranslator.com/V2/LanguageService/AddTranslation", ReplyAction=L"http://api.microsofttranslator.com/V2/LanguageService/AddTranslationResponse")]
void AddTranslation (
String^ appId,
String^ originalText,
String^ translatedText,
String^ from,
String^ to,
int rating,
String^ contentType,
String^ category,
String^ user,
String^ uri
)
/** @attribute OperationContractAttribute(Action="http://api.microsofttranslator.com/V2/LanguageService/AddTranslation", ReplyAction="http://api.microsofttranslator.com/V2/LanguageService/AddTranslationResponse") */
void AddTranslation (
String appId,
String originalText,
String translatedText,
String from,
String to,
int rating,
String contentType,
String category,
String user,
String uri
)
OperationContractAttribute(Action="http://api.microsofttranslator.com/V2/LanguageService/AddTranslation", ReplyAction="http://api.microsofttranslator.com/V2/LanguageService/AddTranslationResponse")
function AddTranslation (
appId : String,
originalText : String,
translatedText : String,
from : String,
to : String,
rating : int,
contentType : String,
category : String,
user : String,
uri : String
)
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also
Reference
LanguageService Interface
LanguageService Members
Microsoft.Crm.UnifiedServiceDesk.Dynamics.MicrosoftTranslationService Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.