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.
WcfChannel/WcfResponse.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="WcfResponse.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>Response message for returning</summary>
7//-----------------------------------------------------------------------
8using System;
9using System.Runtime.Serialization;
10
12{
17 [DataContract]
18 public class WcfResponse
19 {
20 [DataMember]
21 private object _result;
22
27 public WcfResponse(object result)
28 {
29 _result = result;
30 }
31
35 public object Result
36 {
37 get { return _result; }
38 set { _result = value; }
39 }
40 }
41}
Response message for returning the results of a data portal call.
object Result
Busines object or exception return as result of service call.
WcfResponse(object result)
Create new instance of object.