Files
dotnet-bot 332534dede Adding reference source for part of Workflow Foundation
Adding reference source for
System.Activities
System.Activities.DurableInstancing
System.Activities.Presentation
System.Runtime.DurableInstancing
System.Workflow.Activities
System.Workflow.ComponentModel
System.Workflow.Runtime
System.WorkflowServices
System.Xaml.Hosting
XamlBuildTask
2016-05-03 00:07:54 +02:00

36 lines
899 B
C#

//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------
namespace System.Workflow.Runtime
{
using System.Messaging;
using System.Runtime.Serialization;
[Serializable]
class QueueException : InvalidOperationException
{
[NonSerialized]
MessageQueueErrorCode errorCode;
public QueueException(string message, MessageQueueErrorCode errorCode) : base(message)
{
this.errorCode = errorCode;
}
protected QueueException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
public MessageQueueErrorCode ErrorCode
{
get
{
return this.errorCode;
}
}
}
}