HttpException.CreateFromLastError(String) Yöntem

Tanım

Windows API GetLastError() yönteminden döndürülen hata kodunu temel alan yeni HttpException bir özel durum 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şturulduğunda istemciye görüntülenen hata iletisi.

Döndürülenler

HttpException

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

Şunlara uygulanır

Ayrıca bkz.