Click or drag to resize

IOrganizationServiceExtensionsExecuteTResponse Method

Выполнение запроса и получение ответа указанного типа.

Namespace:  PZone.Xrm
Assembly:  PZone.SDK.Xrm (in PZone.SDK.Xrm.dll) Version: 8.2.1.0 (8.2.1.0)
Syntax
C#
public static TResponse Execute<TResponse>(
	this IOrganizationService service,
	OrganizationRequest request
)
where TResponse : OrganizationResponse

Parameters

service
Type: IOrganizationService
Экземпляр сервиса CRM.
request
Type: OrganizationRequest
Запрос.

Type Parameters

TResponse
Тип ответа запроса.

Return Value

Type: TResponse
Метод выполняет запрос и возвращает ответ указанного типа.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IOrganizationService. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also