• Articles
  • API Documentation
  • Pixiv.Exceptions
  • BadRequestException
Show / Hide Table of Contents
  • Pixiv
    • PixivClient
  • Pixiv.Clients
    • ApiClient
  • Pixiv.Clients.Auth
    • AuthenticationClient
  • Pixiv.Clients.IO
    • FileClient
  • Pixiv.Clients.V1
    • ApplicationInfoClient
    • IllustClient
    • IllustSeriesClient
    • MangaClient
    • MuteClient
    • NotificationClient
    • NovelClient
    • PPointClient
    • SearchClient
    • SpotlightClient
    • TrendingTagsClient
    • UserClient
    • WalkthroughClient
  • Pixiv.Clients.V1.Illust
    • BookmarkClient
  • Pixiv.Clients.V1.Novel
    • BookmarkClient
  • Pixiv.Clients.V1.Search
    • BookmarkRangesClient
  • Pixiv.Clients.V1.User
    • BookmarksClient
    • BookmarkTagsClient
    • BrowsingHistoryClient
    • FollowClient
    • MeClient
    • ProfileClient
    • WorkspaceClient
  • Pixiv.Clients.V2
    • IllustClient
    • SearchClient
    • UserClient
  • Pixiv.Clients.V2.Illust
    • BookmarkClient
  • Pixiv.Clients.V2.User
    • BrowsingHistoryClient
  • Pixiv.Clients.V2.User.BrowsingHistory
    • IllustClient
  • Pixiv.Enums
    • ContentType
    • IllustType
    • Publicity
    • RankingMode
    • Restrict
    • SearchTarget
    • Sort
  • Pixiv.Exceptions
    • ApiException
    • BadRequestException
    • PixivException
    • UnauthorizedException
  • Pixiv.Extensions
    • EnumExtensions
    • TaskExtension
  • Pixiv.Models
    • Address
    • ApiResponse
    • ApplicationInfo
    • BookmarkDetail
    • BookmarkDetailTag
    • BookmarkRange
    • BookmarkTag
    • BookmarkTagCollection
    • Comment
    • CommentCollection
    • Country
    • CoverImageUrls
    • Credential
    • GainsCollection
    • Illust
    • IllustCollection
    • IllustSeries
    • IllustSeriesCollection
    • IllustSeriesContext
    • IllustSeriesDetail
    • ImageUrls
    • Job
    • LossesCollection
    • MetaPage
    • MetaSinglePage
    • MinifiedUser
    • MuteList
    • Myself
    • NotificationSettings
    • NotificationType
    • Novel
    • NovelCollection
    • PointSummary
    • PrivacyPolicy
    • Profile
    • ProfileImageUrls
    • ProfilePresets
    • ProfilePublicity
    • Series
    • SeriesDetail
    • SpotlightArticle
    • SpotlightArticleCollection
    • Tag
    • TrendTag
    • User
    • UserCollection
    • UserDetail
    • UserPreview
    • UserPreviewCollection
    • UserState
    • Workspace

Class BadRequestException

Pixiv.Net 内部で、 HTTP 400 Bad Request が返された場合に発生する例外です。

Inheritance
System.Object
System.Exception
PixivException
ApiException
BadRequestException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
ApiException.Response
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Pixiv.Exceptions
Assembly: Pixiv.Net.dll
Syntax
public class BadRequestException : ApiException, ISerializable

Constructors

| Improve this Doc View Source

BadRequestException(HttpResponseMessage)

コンストラクタ

Declaration
public BadRequestException(HttpResponseMessage response)
Parameters
Type Name Description
System.Net.Http.HttpResponseMessage response System.Net.Http.HttpResponseMessage
| Improve this Doc View Source

BadRequestException(HttpResponseMessage, String)

コンストラクタ

Declaration
public BadRequestException(HttpResponseMessage response, string message)
Parameters
Type Name Description
System.Net.Http.HttpResponseMessage response System.Net.Http.HttpResponseMessage
System.String message

例外メッセージ

| Improve this Doc View Source

BadRequestException(HttpResponseMessage, String, Exception)

コンストラクタ

Declaration
public BadRequestException(HttpResponseMessage response, string message, Exception innerException)
Parameters
Type Name Description
System.Net.Http.HttpResponseMessage response System.Net.Http.HttpResponseMessage
System.String message

例外メッセージ

System.Exception innerException

内部例外

Properties

| Improve this Doc View Source

StatusCode

Declaration
public override HttpStatusCode StatusCode { get; }
Property Value
Type Description
System.Net.HttpStatusCode
Overrides
ApiException.StatusCode

Implements

System.Runtime.Serialization.ISerializable
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • BadRequestException(HttpResponseMessage)
    • BadRequestException(HttpResponseMessage, String)
    • BadRequestException(HttpResponseMessage, String, Exception)
  • Properties
    • StatusCode
  • Implements
Back to top Generated by DocFX