CSLA.NET 5.4.2
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Go to the documentation of this file.
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Threading.Tasks;
7namespace Csla.Server
15 public interface IInterceptDataPortal
16 {
32 }
38 public class InterceptArgs
39 {
43 public Type ObjectType { get; set; }
49 public object Parameter { get; set; }
55 public DataPortalResult Result { get; set; }
60 public Exception Exception { get; set; }
65 public DataPortalOperations Operation { get; set; }
70 public bool IsSync { get; set; }
77 public TimeSpan Runtime { get; set; }
78 }
Returns data from the server-side DataPortal to the client-side DataPortal.
Arguments parameter passed to the interceptor methods.
TimeSpan Runtime
Gets or sets a value containing the elapsed runtime for this operation (only valid at end of operatio...
DataPortalResult Result
Gets or sets the business object resulting from the data portal operation.
DataPortalOperations Operation
Gets or sets the data portal operation being performed.
Type ObjectType
Gets or sets the business object type.
bool IsSync
Gets or sets a value indicating whether the data portal was invoked synchronously.
object Parameter
Gets or sets the criteria or business object paramter provided to the data portal from the client.
Exception Exception
Gets or sets the exception that occurred during data portal processing.
Implement this interface to create a data portal interceptor that is notified each time the data port...
void Complete(InterceptArgs e)
Invoked at the end of each server-side data portal invocation for success and exception scenarios.
void Initialize(InterceptArgs e)
Invoked at the start of each server-side data portal invocation, immediately after the context has be...
List of data portal operations.