AddError 方法
Adds an error to the exception's collection of operation response errors.
命名空间: Microsoft.MasterDataServices.Deployment
程序集: Microsoft.MasterDataServices.Deployment(在 Microsoft.MasterDataServices.Deployment.dll 中)
语法
声明
Public Sub AddError ( _
error As Error _
)
用法
Dim instance As DeploymentOperationException
Dim error As Error
instance.AddError(error)
public void AddError(
Error error
)
public:
void AddError(
Error^ error
)
member AddError :
error:Error -> unit
public function AddError(
error : Error
)
参数
- error
类型:Microsoft.MasterDataServices.Services.DataContracts. . :: . .Error
The Error instance to add.
注释
AddError throws a ArgumentNullException if the error parameter is null Nothing nullptr unit null 引用(在 Visual Basic 中为 Nothing) .