mirror of
https://github.com/ZuneDev/ZuneShell.dll.git
synced 2026-07-27 13:11:51 -07:00
Added raw ZuneDBApi decomp
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Net;
|
||||
|
||||
namespace Microsoft.Zune.Service
|
||||
{
|
||||
public class HttpWebException : Exception
|
||||
{
|
||||
private int _hr;
|
||||
|
||||
private HttpWebResponse _response;
|
||||
|
||||
private WebExceptionStatus _status;
|
||||
|
||||
public HttpWebResponse Response => _response;
|
||||
|
||||
public WebExceptionStatus Status => _status;
|
||||
|
||||
public HttpWebException(int hr)
|
||||
{
|
||||
_hr = hr;
|
||||
}
|
||||
|
||||
public HttpWebException(HttpWebResponse response)
|
||||
{
|
||||
_response = response;
|
||||
}
|
||||
|
||||
public HttpWebException(string text, WebExceptionStatus status)
|
||||
: base(text)
|
||||
{
|
||||
_status = status;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user