Share via


DeploymentException Constructor (String, Exception)

Initializes a new instance of the DeploymentException class with the specified error message and inner exception.

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

Syntax

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

Dim instance As New DeploymentException(message, _
    innerException)
public DeploymentException(
    string message,
    Exception innerException
)
public:
DeploymentException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> DeploymentException
public function DeploymentException(
    message : String, 
    innerException : Exception
)

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.