HttpException.CreateFromLastError(String) Metodo

Definizione

Crea una nuova eccezione HttpException basata sul codice di errore restituito dal metodo GetLastError() API Windows.

public:
 static System::Web::HttpException ^ CreateFromLastError(System::String ^ message);
public static System.Web.HttpException CreateFromLastError (string message);
static member CreateFromLastError : string -> System.Web.HttpException
Public Shared Function CreateFromLastError (message As String) As HttpException

Parametri

message
String

Messaggio di errore visualizzato dal client quando viene generata l'eccezione.

Restituisce

HttpException

Elemento HttpException basato sul codice di errore restituito da una chiamata al metodo GetLastError() API Windows.

Si applica a

Vedi anche