Beispiel #1
0
 /// <summary>
 /// Creates an instance of the object.
 /// </summary>
 /// <param name="info">Info about the exception.</param>
 public DataPortalException(WcfPortal.WcfErrorInfo info)
   : base(info.Message)
 {
   this.ErrorInfo = new Csla.Server.Hosts.HttpChannel.HttpErrorInfo(info);
 }
Beispiel #2
0
 /// <summary>
 /// Override this method to manipulate the message
 /// request data returned from the server.
 /// </summary>
 /// <param name="response">Response data.</param>
 protected virtual WcfPortal.WcfResponse ConvertResponse(WcfPortal.WcfResponse response)
 {
   return response;
 }
Beispiel #3
0
 /// <summary>
 /// Override this method to manipulate the message
 /// request data sent to the server.
 /// </summary>
 /// <param name="request">Update request data.</param>
 protected virtual WcfPortal.UpdateRequest ConvertRequest(WcfPortal.UpdateRequest request)
 {
   return request;
 }
Beispiel #4
0
 /// <summary>
 /// Override this method to manipulate the message
 /// request data sent to the server.
 /// </summary>
 /// <param name="request">Criteria request data.</param>
 protected virtual WcfPortal.CriteriaRequest ConvertRequest(WcfPortal.CriteriaRequest request)
 {
   return request;
 }
Beispiel #5
0
 /// <summary>
 /// Creates an instance of the object.
 /// </summary>
 /// <param name="info">Info about the exception.</param>
 public DataPortalException(WcfPortal.WcfErrorInfo info)
   : base(info.Message)
 {
   this.ErrorInfo = info;
 }