asp.net.ph

HttpException.CreateFromLastError Method

System.Web Namespace   HttpException Class


Creates a new Exception based on the error code returned from the Win32 API GetLastError ( ) method.

[ VB ]
Public Shared Function CreateFromLastError ( _
   ByVal message As String _
) As HttpException

[ C# ]
public static HttpException CreateFromLastError (
   string message
);

[ C++ ]
public: static HttpException* CreateFromLastError (
   String* message
);

[ JScript ]
public static function CreateFromLastError (
   message : String
) : HttpException;

Parameters

message
The message to be displayed to the client when the exception is thrown.

Return Value

An Exception based on the error code that is returned from a call to the Win32 API GetLastError ( ) method.

See Also

HttpException Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph