C# Class CoreTweet.TwitterException

Exception throwed by Twitter.
Inheritance: System.Exception, ITwitterResponse
Afficher le fichier Open project: CoreTweet/CoreTweet Class Usage Examples

Méthodes publiques

Méthode Description
Create ( AsyncResponse response ) : Task

Create a TwitterException instance from the AsyncResponse.

Create ( WebException ex ) : TwitterException

Create a TwitterException instance from the WebException.

Private Methods

Méthode Description
Create ( string json, HttpStatusCode statusCode, Exception ex, RateLimit rateLimit ) : TwitterException
ParseErrors ( string json ) : Error[]
TwitterException ( HttpStatusCode status, Error errors, RateLimit rateLimit, string json, Exception innerException ) : System

Method Details

Create() public static méthode

Create a TwitterException instance from the AsyncResponse.
public static Create ( AsyncResponse response ) : Task
response AsyncResponse
Résultat Task

Create() public static méthode

Create a TwitterException instance from the WebException.
public static Create ( WebException ex ) : TwitterException
ex System.Net.WebException The thrown .
Résultat TwitterException