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 a count of the errors in all collections.
Public property ServicesErrors Gets the services API errors to treat as warnings.
Public property StagingBatchErrors Obsolete. Gets the staging batch errors to treat as warnings.

Top

Methods

  Name Description
Public method AddError(Error) Adds an error to the collection of services errors to treat as warnings.
Public method AddError(StagingBatchError) Obsolete. Adds an error to the collection of staging batch errors to treat as warnings.
Public method AddErrors(IEnumerable<Error>) Adds a collection of errors that iterates through the collection of services errors to treat as warnings.
Public method AddErrors(Collection<Error>) Adds a collection of errors to the collection of services errors to treat as warnings.
Public method AddErrors(IEnumerable<StagingBatchError>) Obsolete. Adds a collection of errors that iterates through the collection of staging batch errors to treat as warnings.
Public method AddErrors(Collection<StagingBatchError>) Obsolete. Adds a collection of errors to the collection of staging batch errors to treat as warnings.
Public method ClearErrors Clears 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.

See Also

Reference

Microsoft.MasterDataServices.Deployment Namespace