Breyta

Deila með


InstanceUpdateException Class

Definition

Represents an instance update exception.

public ref class InstanceUpdateException : Exception
[System.Serializable]
public class InstanceUpdateException : Exception
[<System.Serializable>]
type InstanceUpdateException = class
    inherit Exception
Public Class InstanceUpdateException
Inherits Exception
Inheritance
InstanceUpdateException
Attributes

Remarks

This class supports the versioning and dynamic update functionality of Windows Workflow Foundation. For more information about workflow versioning, workflow identity, and dynamic update, see the following topics.

Workflow Versioning
Describes the workflow versioning functionality introduced in .NET Framework 4.5.

Dynamic Update
Describes how to update the workflow definition of a persisted workflow instance by using dynamic update.

Using WorkflowApplication Identity and Versioning
Describes how to use WorkflowIdentity to host multiple versions of a workflow side-by-side.

Side by Side Versioning in WorkflowServiceHost
Describes how to host multiple versions of a workflow on a single endpoint.

How to: Host Multiple Versions of a Workflow Side-by-Side
This step in the Getting Started Tutorial demonstrates updating a workflow definition, and hosting workflows using both the old and new definition at the same time.

How to: Update the Definition of a Running Workflow Instance
This step in the Getting Started Tutorial demonstrates updating persisted workflow instances to use a new workflow definition.

Constructors

InstanceUpdateException()

Initializes a new instance of the InstanceUpdateException class.

InstanceUpdateException(IList<ActivityBlockingUpdate>)

Initializes a new instance of the InstanceUpdateException class with the specified blocking activities.

InstanceUpdateException(SerializationInfo, StreamingContext)

Initializes a new instance of the InstanceUpdateException class with serialized data.

InstanceUpdateException(String, Exception)

Initializes a new instance of the InstanceUpdateException class with the specified error message and a reference to the inner exception that is the cause of this exception.

InstanceUpdateException(String, IList<ActivityBlockingUpdate>, Exception)

Initializes a new instance of the InstanceUpdateException class.

InstanceUpdateException(String, IList<ActivityBlockingUpdate>)

Initializes a new instance of the InstanceUpdateException class with the specified message and blocking activities.

InstanceUpdateException(String)

Initializes a new instance of the InstanceUpdateException class with the specified message.

Properties

BlockingActivities

Gets the collection of blocking activities for the instance.

Data

Gets a collection of key/value pairs that provide additional user-defined information about the exception.

(Inherited from Exception)
HelpLink

Gets or sets a link to the help file associated with this exception.

(Inherited from Exception)
HResult

Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.

(Inherited from Exception)
InnerException

Gets the Exception instance that caused the current exception.

(Inherited from Exception)
Message

Gets a message that describes the current exception.

(Inherited from Exception)
Source

Gets or sets the name of the application or the object that causes the error.

(Inherited from Exception)
StackTrace

Gets a string representation of the immediate frames on the call stack.

(Inherited from Exception)
TargetSite

Gets the method that throws the current exception.

(Inherited from Exception)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetBaseException()

When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.

(Inherited from Exception)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo object with additional exception information.

GetType()

Gets the runtime type of the current instance.

(Inherited from Exception)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Creates and returns a string representation of the current exception.

(Inherited from Exception)

Events

SerializeObjectState
Obsolete.

Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception.

(Inherited from Exception)

Applies to