SqlPersistenceWorkflowInstanceDescription.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / RunTime / Hosting / SqlPersistenceWorkflowInstanceDescription.cs / 1305376 / SqlPersistenceWorkflowInstanceDescription.cs

                            using System; 
using System.IO;
using System.Transactions;
using System.Diagnostics;
using System.Data; 
using System.Data.Common;
using System.Data.SqlTypes; 
using System.Data.SqlClient; 
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary; 
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Configuration; 
using System.Text.RegularExpressions;
using System.Security.Permissions; 
using System.Threading; 

using System.Workflow.Runtime.Hosting; 
using System.Workflow.Runtime;
using System.Workflow.ComponentModel;
using System.Globalization;
 
namespace System.Workflow.Runtime.Hosting
{ 
    public class SqlPersistenceWorkflowInstanceDescription 
    {
        private Guid workflowInstanceId; 
        private WorkflowStatus status;
        private bool isBlocked;
        private string suspendOrTerminateDescription;
        private SqlDateTime nextTimerExpiration; 

        internal SqlPersistenceWorkflowInstanceDescription(Guid workflowInstanceId, WorkflowStatus status, bool isBlocked, string suspendOrTerminateDescription, SqlDateTime nextTimerExpiration) 
        { 
            this.workflowInstanceId = workflowInstanceId;
            this.status = status; 
            this.isBlocked = isBlocked;
            this.suspendOrTerminateDescription = suspendOrTerminateDescription;
            this.nextTimerExpiration = nextTimerExpiration;
        } 

        public Guid WorkflowInstanceId { get { return workflowInstanceId; } } 
        public WorkflowStatus Status { get { return status; } } 
        public bool IsBlocked { get { return isBlocked; } }
        public string SuspendOrTerminateDescription { get { return suspendOrTerminateDescription; } } 
        public SqlDateTime NextTimerExpiration { get { return nextTimerExpiration; } }
    }
}

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

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