다음을 통해 공유


FSharpType.IsExceptionRepresentation 메서드(F#)

지정된 형식이 F# 예외 선언의 표현인 경우 true를 반환합니다.

네임스페이스/모듈 경로: Microsoft.FSharp.Reflection

어셈블리: FSharp.Core(FSharp.Core.dll)

// Signature:
static member IsExceptionRepresentation : Type * ?BindingFlags -> bool

// Usage:
FSharpType.IsExceptionRepresentation (exceptionType)
FSharpType.IsExceptionRepresentation (exceptionType, bindingFlags = bindingFlags)

매개 변수

  • exceptionType
    형식: Type

    검사할 형식입니다.

  • bindingFlags
    형식: BindingFlags

    선택적 바인딩 플래그입니다.

반환 값

확인한 형식이 F# 예외인 경우 true를 반환합니다.

플랫폼

Windows 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2

버전 정보

F# 런타임

지원되는 버전: 2.0, 4.0

Silverlight

지원되는 버전: 3

참고 항목

참조

Reflection.FSharpType 클래스(F#)

Microsoft.FSharp.Reflection 네임스페이스(F#)