6 instantiations of OperationExecutionFault
System.ServiceModel.Activities (6)
System\ServiceModel\Activities\Dispatcher\OperationExecutionFault.cs (6)
73
return new
OperationExecutionFault
(description, instanceUnloadedFaultCode);
82
return new
OperationExecutionFault
(description, instanceNotFoundCode);
91
return new
OperationExecutionFault
(description, instanceCompletedCode);
100
return new
OperationExecutionFault
(description, instanceTerminatedCode);
127
return new
OperationExecutionFault
(description, instanceAbortedCode);
136
return new
OperationExecutionFault
(description, updatedFailedFaultCode);
32 references to OperationExecutionFault
System.ServiceModel.Activities (32)
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (4)
433
throw FxTrace.Exception.AsError(new FaultException(
OperationExecutionFault
.CreateUpdateFailedFault(
517
throw FxTrace.Exception.AsError(new FaultException(
OperationExecutionFault
.CreateUpdateFailedFault(
602
OperationExecutionFault
.CreateUpdateFailedFault(SR.CannotUpdateLoadedInstance(this.workflowServiceInstance.Id))));
871
return new FaultException(
OperationExecutionFault
.CreateInstanceNotFoundFault(exception.Message));
System\ServiceModel\Activities\Dispatcher\OperationExecutionFault.cs (9)
58
public static
OperationExecutionFault
CreateTransactedLockException(Guid instanceId, string operationName)
67
public static
OperationExecutionFault
CreateInstanceUnloadedFault(string description)
76
public static
OperationExecutionFault
CreateInstanceNotFoundFault(string description)
85
public static
OperationExecutionFault
CreateCompletedFault(string description)
94
public static
OperationExecutionFault
CreateTerminatedFault(string description)
103
public static
OperationExecutionFault
CreateSuspendedFault(Guid instanceId, string operationName)
112
public static
OperationExecutionFault
CreateOperationNotAvailableFault(Guid instanceId, string operationName)
121
public static
OperationExecutionFault
CreateAbortedFault(string description)
130
public static
OperationExecutionFault
CreateUpdateFailedFault(string description)
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (2)
116
OperationExecutionFault
.CreateUpdateFailedFault(SR.UpdateMapNotFound(definitionIdentity, updatedIdentity.Identity))));
121
OperationExecutionFault
.CreateUpdateFailedFault(SR.UpdateDefinitionNotFound(updatedIdentity.Identity))));
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (16)
409
AbortInstance(new FaultException(
OperationExecutionFault
.CreateAbortedFault(SR.DefaultAbortReason)), false);
1157
OperationExecutionFault
fault =
OperationExecutionFault
.CreateTerminatedFault(reason);
1779
throw FxTrace.Exception.AsError(new FaultException(
OperationExecutionFault
.CreateAbortedFault(SR.WorkflowInstanceAborted(this.Id))));
1789
throw FxTrace.Exception.AsError(new FaultException(
OperationExecutionFault
.CreateTerminatedFault(SR.WorkflowInstanceTerminated(this.Id))));
1793
throw FxTrace.Exception.AsError(new FaultException(
OperationExecutionFault
.CreateCompletedFault(SR.WorkflowInstanceCompleted(this.Id))));
1802
throw FxTrace.Exception.AsError(new FaultException(
OperationExecutionFault
.CreateInstanceUnloadedFault(SR.WorkflowInstanceUnloaded(this.Id))));
2177
FaultPendingRequests(new FaultException(
OperationExecutionFault
.CreateTerminatedFault(SR.WorkflowInstanceTerminated(this.Id))));
2181
FaultPendingRequests(new FaultException(
OperationExecutionFault
.CreateCompletedFault(SR.WorkflowInstanceCompleted(this.Id))));
2346
OperationExecutionFault
.CreateTransactedLockException(this.persistenceContext.InstanceId, operationName)));
2357
OperationExecutionFault
.CreateInstanceUnloadedFault(SR.ServiceInstanceUnloaded(this.persistenceContext.InstanceId))));
2364
OperationExecutionFault
.CreateInstanceNotFoundFault(SR.ServiceInstanceTerminated(this.persistenceContext.InstanceId))));
2378
OperationExecutionFault
.CreateSuspendedFault(this.Id, operationName)));
2551
if (
OperationExecutionFault
.IsAbortedFaultException(exception))
2611
if (
OperationExecutionFault
.IsAbortedFaultException(exception))
5991
IAsyncResult result = this.instance.BeginAbandon(new FaultException(
OperationExecutionFault
.CreateAbortedFault(SR.DefaultAbortReason)), false,
System\ServiceModel\Activities\WorkflowOperationContext.cs (1)
692
throw FxTrace.Exception.AsError(new FaultException(
OperationExecutionFault
.CreateOperationNotAvailableFault(thisPtr.workflowInstance.Id, thisPtr.bookmark.Name)));