/// <summary> /// Creates a NotFound instance of the result /// </summary> /// <returns>The canonical NotFound result</returns> static GetUserPhotoResponse GetNotFoundResponse() { GetUserPhotoResponse serviceResponse = new GetUserPhotoResponse(); serviceResponse.Results.Status = GetUserPhotoStatus.PhotoOrUserNotFound; return(serviceResponse); }
object ParseResponse(EwsServiceXmlReader reader, WebHeaderCollection responseHeaders) { GetUserPhotoResponse response = new GetUserPhotoResponse(); response.LoadFromXml(reader, XmlElementNames.GetUserPhotoResponse); response.ReadHeader(responseHeaders); return(response); }