UnmanagedFunctionPointerAttribute::SetLastError Field
.NET Framework (current version)
Indicates whether the callee calls the SetLastError Win32 API function before returning from the attributed method.
Assembly: mscorlib (in mscorlib.dll)
The SetLastError field is false by default, which means the caller calls SetLastError. Set this field to true to indicate that the callee calls SetLastError before returning from the attributed method.
For more information, see SetLastError.
Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Show: