Share via


DeploymentStagingException Constructor (String, Exception, Collection<StagingBatchError>)

Initializes a new instance of the DeploymentStagingException class with the specified error message, inner exception, and error collection.

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception, _
    errors As Collection(Of StagingBatchError) _
)
'Usage
Dim message As String
Dim innerException As Exception
Dim errors As Collection(Of StagingBatchError)

Dim instance As New DeploymentStagingException(message, _
    innerException, errors)
public DeploymentStagingException(
    string message,
    Exception innerException,
    Collection<StagingBatchError> errors
)
public:
DeploymentStagingException(
    String^ message, 
    Exception^ innerException, 
    Collection<StagingBatchError^>^ errors
)
new : 
        message:string * 
        innerException:Exception * 
        errors:Collection<StagingBatchError> -> DeploymentStagingException
public function DeploymentStagingException(
    message : String, 
    innerException : Exception, 
    errors : Collection<StagingBatchError>
)

Parameters

  • message
    Type: System.String
    The error message associated with this exception.
  • innerException
    Type: System.Exception
    A reference to the inner exception that is the cause of this exception.