Partager via


IDeploymentService.Execute(DeploymentServiceRequest) Method

Definition

Executes a message in the form of a request, and returns a response.

public:
 Microsoft::Xrm::Sdk::Deployment::DeploymentServiceResponse ^ Execute(Microsoft::Xrm::Sdk::Deployment::DeploymentServiceRequest ^ request);
[System.ServiceModel.FaultContract(typeof(Microsoft.Xrm.Sdk.Deployment.DeploymentServiceFault), Action="http://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/ExecuteDeploymentServiceFaultFault", Name="DeploymentServiceFault", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts/Deployment")]
[System.ServiceModel.OperationContract(Action="http://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/Execute", ReplyAction="http://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/ExecuteResponse")]
public Microsoft.Xrm.Sdk.Deployment.DeploymentServiceResponse Execute (Microsoft.Xrm.Sdk.Deployment.DeploymentServiceRequest request);
[<System.ServiceModel.FaultContract(typeof(Microsoft.Xrm.Sdk.Deployment.DeploymentServiceFault), Action="http://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/ExecuteDeploymentServiceFaultFault", Name="DeploymentServiceFault", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts/Deployment")>]
[<System.ServiceModel.OperationContract(Action="http://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/Execute", ReplyAction="http://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/ExecuteResponse")>]
abstract member Execute : Microsoft.Xrm.Sdk.Deployment.DeploymentServiceRequest -> Microsoft.Xrm.Sdk.Deployment.DeploymentServiceResponse
Public Function Execute (request As DeploymentServiceRequest) As DeploymentServiceResponse

Parameters

request
DeploymentServiceRequest

A request instance that defines the action to be performed.

Returns

The response from the request. You must cast the return value of this method to the specific instance of the response that corresponds to the Request parameter

Attributes

Applies to