Warnings Class

Represents the model deployment errors that are treated as warnings.

Inheritance Hierarchy

System.Object
  Microsoft.MasterDataServices.Deployment.Warnings

Namespace:  Microsoft.MasterDataServices.Deployment
Assembly:  Microsoft.MasterDataServices.Deployment (in Microsoft.MasterDataServices.Deployment.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class Warnings
'Usage
Dim instance As Warnings
[SerializableAttribute]
public class Warnings
[SerializableAttribute]
public ref class Warnings
[<SerializableAttribute>]
type Warnings =  class end
public class Warnings

The Warnings type exposes the following members.

Constructors

  Name Description
Public method Warnings Initializes a new instance of the Warnings class.

Top

Properties

  Name Description
Public property Count Gets the number of the errors in all collections.
Public property ServicesErrors Gets the collection of Microsoft.MasterDataServices.Services API errors to treat as warnings.
Public property StagingBatchErrors Gets a collection of staging errors to treat as warnings.

Top

Methods

  Name Description
Public method AddError(Error) Adds an error to the collection of Error objects to treat as warnings.
Public method AddError(StagingBatchError) Adds an error to the collection of StagingBatchError objects to treat as warnings.
Public method AddErrors(IEnumerable<Error>) Adds a collection of errors that iterates through the collection of Error objects to treat as warnings.
Public method AddErrors(Collection<Error>) Adds a collection of errors to the collection of Error objects to treat as warnings.
Public method AddErrors(IEnumerable<StagingBatchError>) Adds a collection of errors that iterates through the collection of StagingBatchError objects to treat as warnings.
Public method AddErrors(Collection<StagingBatchError>) Adds a collection of errors to the collection of StagingBatchError objects to treat as warnings.
Public method ClearErrors Indicates to clear out all error collections.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.