다음을 통해 공유


AddError 메서드

Adds an error to the exception's collection of staging batch errors.

네임스페이스:  Microsoft.MasterDataServices.Deployment
어셈블리:  Microsoft.MasterDataServices.Deployment(Microsoft.MasterDataServices.Deployment.dll)

구문

‘선언
Public Sub AddError ( _
    error As StagingBatchError _
)
‘사용 방법
Dim instance As DeploymentStagingException
Dim error As StagingBatchError

instance.AddError(error)
public void AddError(
    StagingBatchError error
)
public:
void AddError(
    StagingBatchError^ error
)
member AddError : 
        error:StagingBatchError -> unit 
public function AddError(
    error : StagingBatchError
)

주의

AddError throws a ArgumentNullException if the error parameter is null Nothing nullptr unit null 참조(Visual Basic에서는 Nothing) .