UnmanagedFunctionPointerAttribute.SetLastError 필드

정의

호출 수신자가 특성 지정된 메서드에서 반환하기 전에 SetLastError Windows API 함수를 호출하는지 여부를 나타냅니다.

public: bool SetLastError;
public bool SetLastError;
val mutable SetLastError : bool
Public SetLastError As Boolean 

필드 값

설명

SetLastError 필드는 false 기본적으로 호출자가 호출SetLastError하는 것을 의미합니다. 특성이 지정된 메서드에서 반환되기 전에 호출 수신자가 호출 SetLastError 함을 나타내도록 true 이 필드를 설정합니다.

자세한 내용은 SetLastError를 참조하세요.

적용 대상

추가 정보