共用方式為


ServiceResult<T>(T, Exception) Constructor

Definition

Initializes a new instance of the ServiceResult<T> class.

public ServiceResult (T result, Exception ex);
new Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.ServiceResult<'T> : 'T * Exception -> Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.ServiceResult<'T>
Public Sub New (result As T, ex As Exception)

Parameters

result
T

Input result

ex
Exception

Input exception

Applies to