CompatibilityResult 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
및 관련 메서드에서 IsCompatibleWith(Object) 반환되어 한 개체가 다른 개체와 충돌하지 않는지 여부를 나타내기 때문에 두 개체를 하나로 결합할 수 있습니다.
public sealed class CompatibilityResult
type CompatibilityResult = class
Public NotInheritable Class CompatibilityResult
- 상속
-
CompatibilityResult
설명
두 개체가 호환되지 않는 경우 호환되지 않는 이유에 대한 정보가 속성에 ErrorMessage 포함됩니다.
생성자
| CompatibilityResult(Boolean, String) |
새 CompatibilityResult 인스턴스를 만듭니다. |
속성
| ErrorMessage |
가 true이면 IsCompatible 테스트된 두 개체가 호환되지 않는 방법을 나타내는 오류 메시지를 반환합니다. |
| IsCompatible |
True이면 테스트된 두 개체가 호환됩니다. 그렇지 않으면 false입니다. |
연산자
| Implicit(CompatibilityResult to Boolean) |
결과 개체를 검사에 직접 사용할 수 있도록 부울로 암시적으로 변환합니다. |