ChangesetResponse.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / DataWeb / Client / System / Data / Services / Client / ChangesetResponse.cs / 1 / ChangesetResponse.cs

                            //---------------------------------------------------------------------- 
// 
//      Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//  
// Response from SaveChanges.
//  
//--------------------------------------------------------------------- 

namespace System.Data.Services.Client 
{
    using System.Collections.Generic;
    using System.Diagnostics;
 
    /// 
    /// Response from SaveChanges. 
    ///  
    [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1010", Justification = "required for this feature")]
    [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710", Justification = "required for this feature")] 
    public sealed class ChangeOperationResponse : OperationResponse
    {
        /// descriptor containing the response object.
        private Descriptor descriptor; 

        ///  
        /// constructor 
        /// 
        /// HTTP headers 
        /// response object containing information about resources that got changed.
        internal ChangeOperationResponse(Dictionary headers, Descriptor descriptor)
            : base(headers)
        { 
            Debug.Assert(descriptor != null, "descriptor != null");
            this.descriptor = descriptor; 
        } 

        /// Descriptor containing the response object. 
        public Descriptor Descriptor
        {
            get { return this.descriptor; }
        } 
    }
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//---------------------------------------------------------------------- 
// 
//      Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//  
// Response from SaveChanges.
//  
//--------------------------------------------------------------------- 

namespace System.Data.Services.Client 
{
    using System.Collections.Generic;
    using System.Diagnostics;
 
    /// 
    /// Response from SaveChanges. 
    ///  
    [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1010", Justification = "required for this feature")]
    [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710", Justification = "required for this feature")] 
    public sealed class ChangeOperationResponse : OperationResponse
    {
        /// descriptor containing the response object.
        private Descriptor descriptor; 

        ///  
        /// constructor 
        /// 
        /// HTTP headers 
        /// response object containing information about resources that got changed.
        internal ChangeOperationResponse(Dictionary headers, Descriptor descriptor)
            : base(headers)
        { 
            Debug.Assert(descriptor != null, "descriptor != null");
            this.descriptor = descriptor; 
        } 

        /// Descriptor containing the response object. 
        public Descriptor Descriptor
        {
            get { return this.descriptor; }
        } 
    }
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK