Aracılığıyla paylaş


BadHttpRequestException Sınıf

Tanım

HTTP isteği hatalarını temsil eder

public ref class BadHttpRequestException : System::IO::IOException
public class BadHttpRequestException : System.IO.IOException
type BadHttpRequestException = class
    inherit IOException
Public Class BadHttpRequestException
Inherits IOException
Devralma
BadHttpRequestException
Türetilmiş

Oluşturucular

BadHttpRequestException(String)

400 Hatalı İstek olarak ayarlanmış sınıfının StatusCode yeni bir örneğini BadHttpRequestException başlatır.

BadHttpRequestException(String, Exception)

400 Hatalı İstek olarak ayarlanmış sınıfının StatusCode yeni bir örneğini BadHttpRequestException başlatır.

BadHttpRequestException(String, Int32)

BadHttpRequestException sınıfının yeni bir örneğini başlatır.

BadHttpRequestException(String, Int32, Exception)

BadHttpRequestException sınıfının yeni bir örneğini başlatır.

Özellikler

StatusCode

Bu özel durum için HTTP durum kodunu alır.

Şunlara uygulanır