OrganizationServiceContextExtensions.RetrieveExchangeRate Method (OrganizationServiceContext, Guid)
Applies To: Dynamics CRM 2013
Retrieves the exchange rate. (Developer Extensions)
Namespace: Microsoft.Xrm.Client.Messages
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static decimal RetrieveExchangeRate(
this OrganizationServiceContext context,
Guid transactionCurrencyId
)
public:
[ExtensionAttribute]
static Decimal RetrieveExchangeRate(
OrganizationServiceContext^ context,
Guid transactionCurrencyId
)
static member RetrieveExchangeRate :
context:OrganizationServiceContext *
transactionCurrencyId:Guid -> decimal
<ExtensionAttribute>
Public Shared Function RetrieveExchangeRate (
context As OrganizationServiceContext,
transactionCurrencyId As Guid
) As Decimal
Parameters
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
- transactionCurrencyId
Type: System.Guid
Return Value
Type: System.Decimal
Returns Decimal.
Remarks
This is a method wrapper for the RetrieveExchangeRateRequest and RetrieveExchangeRateResponse classes. See the documentation in the Request class for more information about this message.
See Also
OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2013
Return to top