HttpException.CreateFromLastError(String) Yöntem

Tanım

Windows API HttpException yönteminden döndürülen hata kodunu temel alan yeni bir GetLastError() özel durumu oluşturur.

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

Parametreler

message
String

Özel durum oluştuğunda istemciye görüntülenen hata iletisi.

Döndürülenler

Windows API HttpException yöntemine yapılan bir çağrıdan döndürülen hata kodunu temel alan bir GetLastError().

Şunlara uygulanır

Ayrıca bkz.