scheduler_resource_allocation_error 클래스

이 클래스는 동시성 런타임에서 중요한 리소스를 얻지 못할 경우 throw되는 예외를 설명합니다.

class scheduler_resource_allocation_error : public std::exception;

멤버

Public 생성자

Name

설명

scheduler_resource_allocation_error::scheduler_resource_allocation_error 생성자

오버로드되는 이 메서드는 scheduler_resource_allocation_error 개체를 생성합니다.

Public 메서드

Name

설명

scheduler_resource_allocation_error::get_error_code 메서드

예외의 원인이 된 오류 코드를 반환합니다.

설명

이 예외는 일반적으로 동시성 런타임 내에서 운영 체제에 대한 호출이 실패할 때 throw됩니다. 일반적으로 Win32 메서드 GetLastError에 대한 호출에서 반환되는 오류 코드는 값 형식 HRESULT이며 get_error_code 메서드를 통해 검색할 수 있습니다.

상속 계층 구조

exception

scheduler_resource_allocation_error

요구 사항

헤더: concrt.h

네임스페이스: 동시성

참고 항목

참조

동시성 네임스페이스