Share via


CompatibilityResult(Boolean, String) Constructor

Definition

Creates a new CompatibilityResult instance.

public CompatibilityResult(bool isCompatible, string errorMessage);
new System.Data.Entity.Infrastructure.Annotations.CompatibilityResult : bool * string -> System.Data.Entity.Infrastructure.Annotations.CompatibilityResult
Public Sub New (isCompatible As Boolean, errorMessage As String)

Parameters

isCompatible
Boolean

Indicates whether or not the two tested objects are compatible.

errorMessage
String

An error message indicating how the objects are not compatible. Expected to be null if isCompatible is true.

Applies to