共用方式為


InvalidDeploymentException Class

Definition

Indicates that ClickOnce could not read either the deployment or application manifests.

public ref class InvalidDeploymentException : System::Deployment::Application::DeploymentException
[System.Serializable]
public class InvalidDeploymentException : System.Deployment.Application.DeploymentException
[<System.Serializable>]
type InvalidDeploymentException = class
    inherit DeploymentException
Public Class InvalidDeploymentException
Inherits DeploymentException
Inheritance
InvalidDeploymentException
Attributes

Remarks

InvalidDeploymentException indicates the existence of a corrupt deployment or application manifest in a ClickOnce application. The error might occur because the manifests are poorly formed, have unrecognized elements for their schemas, or have mismatched digital signatures.

You are more likely to have corruption if you manually edit the deployment or application manifest files with a text editor. You can usually correct this problem by regenerating your ClickOnce deployment, which will create new deployment and application manifests. For more detailed debugging steps, see the following links.

Constructors

InvalidDeploymentException()

Initializes a new instance of the InvalidDeploymentException class.

InvalidDeploymentException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidDeploymentException class.

InvalidDeploymentException(String, Exception)

Initializes a new instance of the InvalidDeploymentException class.

InvalidDeploymentException(String)

Initializes a new instance of the InvalidDeploymentException class with the specified message that describes the exception.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo with information about the exception.

(Inherited from DeploymentException)

Applies to

See also