Bewerken

Share via


AssemblyVersionCompatibility Enum

Definition

Defines the different types of assembly version compatibility.

public enum class AssemblyVersionCompatibility
public enum AssemblyVersionCompatibility
[System.Serializable]
public enum AssemblyVersionCompatibility
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public enum AssemblyVersionCompatibility
type AssemblyVersionCompatibility = 
[<System.Serializable>]
type AssemblyVersionCompatibility = 
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type AssemblyVersionCompatibility = 
Public Enum AssemblyVersionCompatibility
Inheritance
AssemblyVersionCompatibility
Attributes

Fields

Name Value Description
SameMachine 1

The assembly cannot execute with other versions if they are executing on the same machine.

SameProcess 2

The assembly cannot execute with other versions if they are executing in the same process.

SameDomain 3

The assembly cannot execute with other versions if they are executing in the same application domain.

Remarks

AssemblyVersionCompatibility defines the compatibility of an assembly with other versions of the same assembly, indicating if it cannot execute side-by-side with other versions (for example, due to conflicts over a device driver).

If no compatibility is specified, an assembly is side-by-side compatible in all scopes.

An assembly cannot be more specific with regard to exactly which previous versions it is not side-by-side compatible with. Therefore, if the AssemblyVersionCompatibility is specified, it means the assembly is non side-by-side with all known versions. If not specified, it means it is side-by-side with all known versions.

Applies to