Condividi tramite


DependentPlatformMissingException Class

Definition

The exception that is thrown when the platform dependency is not found during activation of the ClickOnce deployment and the deployment will not run.

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

Remarks

This exception is thrown when there is a mismatch between the platform requested in the deployment manifest and the platform that ClickOnce is trying to run the application on. In this context, "platform" can refer to the operating system, the installed versions of the common language runtime, or a previously installed assembly. For example, if the ClickOnce application asserts that it requires Windows XP and the user is trying to run the application on Windows 2000, this exception will occur.

Constructors

DependentPlatformMissingException()

Initializes a new instance of the DependentPlatformMissingException class.

DependentPlatformMissingException(SerializationInfo, StreamingContext)

Initializes a new instance of the DependentPlatformMissingException class.

DependentPlatformMissingException(String, Exception)

Initializes a new instance of the DependentPlatformMissingException class with a specified error message and a reference to the inner exception that is the cause of this exception.

DependentPlatformMissingException(String, Uri)

Initializes a new instance of the DependentPlatformMissingException class.

DependentPlatformMissingException(String)

Initializes a new instance of the DependentPlatformMissingException class with a specified message that describes the error.

Properties

SupportUrl

Gets a URI that indicates where support can be found for the problem encountered.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Gets the object data.

Applies to