RestSharpException
Ecng.Net
Represents an exception that is thrown when a RestSharp operation fails.
継承元: InvalidOperationException
コンストラクター
RestSharpException
public RestSharpException(string message, RestResponse response)
restSharpException = RestSharpException(message, response)
Represents an exception that is thrown when a RestSharp operation fails.
- message
- The error message that explains the reason for the exception.
- response
- The RestResponse associated with the failed RestSharp operation.
プロパティ
Response
public RestResponse Response { get; }
value = restSharpException.Response
Gets the response returned from the RestSharp call that caused the exception.