Google.GData.Client.GDataRedirectException.GDataRedirectException C# (CSharp) Method

GDataRedirectException() public method

constructs a redirect execption
public GDataRedirectException ( string msg, WebResponse response ) : System
msg string the exception message as a string
response System.Net.WebResponse the webresponse object that caused the exception
return System
		public GDataRedirectException(string msg, WebResponse response) : base(msg)
		{
			this.webResponse = response;
			if (response != null && response.Headers != null)
			{
				this.redirectLocation = response.Headers["Location"]; 
			}
			
		}
GDataRedirectException