다음을 통해 공유


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
)

매개 변수

주의

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