InteropTrackingRecord.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / RunTime / System / Activities / Tracking / InteropTrackingRecord.cs / 1305376 / InteropTrackingRecord.cs

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

namespace System.Activities.Tracking 
{
    using System; 
    using System.Collections.Generic; 
    using System.Linq;
    using System.Text; 
    using System.Activities.Tracking;

    public class InteropTrackingRecord : CustomTrackingRecord
    { 
        public System.Workflow.Runtime.Tracking.TrackingRecord TrackingRecord { get; private set; }
 
        public InteropTrackingRecord(string activityDisplayName, 
            System.Workflow.Runtime.Tracking.TrackingRecord v1TrackingRecord)
            : base(activityDisplayName) 
        {
            this.TrackingRecord = v1TrackingRecord;
            this.Data.Add("TrackingRecord", v1TrackingRecord);
        } 

        protected InteropTrackingRecord(InteropTrackingRecord record) 
            : base(record) 
        {
            this.TrackingRecord = record.TrackingRecord; 
        }

        protected override TrackingRecord Clone()
        { 
            return new InteropTrackingRecord(this);
        } 
    } 
}

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

namespace System.Activities.Tracking 
{
    using System; 
    using System.Collections.Generic; 
    using System.Linq;
    using System.Text; 
    using System.Activities.Tracking;

    public class InteropTrackingRecord : CustomTrackingRecord
    { 
        public System.Workflow.Runtime.Tracking.TrackingRecord TrackingRecord { get; private set; }
 
        public InteropTrackingRecord(string activityDisplayName, 
            System.Workflow.Runtime.Tracking.TrackingRecord v1TrackingRecord)
            : base(activityDisplayName) 
        {
            this.TrackingRecord = v1TrackingRecord;
            this.Data.Add("TrackingRecord", v1TrackingRecord);
        } 

        protected InteropTrackingRecord(InteropTrackingRecord record) 
            : base(record) 
        {
            this.TrackingRecord = record.TrackingRecord; 
        }

        protected override TrackingRecord Clone()
        { 
            return new InteropTrackingRecord(this);
        } 
    } 
}

// 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