다음을 통해 공유


AddErrors 메서드

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

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

구문

‘선언
Public Sub AddErrors ( _
    errors As Collection(Of StagingBatchError) _
)
‘사용 방법
Dim instance As DeploymentStagingException
Dim errors As Collection(Of StagingBatchError)

instance.AddErrors(errors)
public void AddErrors(
    Collection<StagingBatchError> errors
)
public:
void AddErrors(
    Collection<StagingBatchError^>^ errors
)
member AddErrors : 
        errors:Collection<StagingBatchError> -> unit 
public function AddErrors(
    errors : Collection<StagingBatchError>
)

매개 변수

주의

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