Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx35 / System.WorkflowServices / System / ServiceModel / Dispatcher / WorkflowOperationErrorHandler.cs / 1305376 / WorkflowOperationErrorHandler.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.ServiceModel.Dispatcher { using System.ServiceModel.Channels; class WorkflowOperationErrorHandler : DurableErrorHandler { public WorkflowOperationErrorHandler(bool includeDebugInfo) : base(includeDebugInfo) { } public static Exception CreateUnhandledException(Exception innerException) { if (innerException == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("innerException"); } return new WorkflowOperationUnhandledException(innerException); } protected override Exception GetExceptionToTrace(Exception error) { return error.InnerException; } protected override bool IsUserCodeException(Exception error) { return error is WorkflowOperationUnhandledException; } class WorkflowOperationUnhandledException : Exception { public WorkflowOperationUnhandledException(Exception innerException) : base(SR2.GetString(SR2.WorkflowOperationUnhandledException), innerException) { } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ContentPlaceHolderDesigner.cs
- ItemContainerPattern.cs
- SoapSchemaMember.cs
- TableParaClient.cs
- DashStyle.cs
- AttachmentService.cs
- BrowserTree.cs
- ScriptingRoleServiceSection.cs
- Lasso.cs
- SpecularMaterial.cs
- OperandQuery.cs
- SmtpClient.cs
- XhtmlBasicImageAdapter.cs
- CachedResourceDictionaryExtension.cs
- ItemContainerPattern.cs
- Rectangle.cs
- MemberDescriptor.cs
- Stack.cs
- FixedHighlight.cs
- SoapConverter.cs
- XslVisitor.cs
- ConfigXmlAttribute.cs
- SortDescription.cs
- WizardStepBase.cs
- TextEditorLists.cs
- BCLDebug.cs
- SizeConverter.cs
- BaseCollection.cs
- StateBag.cs
- DebugHandleTracker.cs
- DiscoveryExceptionDictionary.cs
- ByteStreamGeometryContext.cs
- PageStatePersister.cs
- PlainXmlWriter.cs
- PointLightBase.cs
- ModifierKeysConverter.cs
- ProtectedProviderSettings.cs
- ButtonFlatAdapter.cs
- TransactionChannel.cs
- TextSelectionProcessor.cs
- XmlSchemaInclude.cs
- HideDisabledControlAdapter.cs
- SizeAnimationBase.cs
- OperationAbortedException.cs
- XmlNodeList.cs
- KeyedCollection.cs
- StrongNameUtility.cs
- EventHandlerService.cs
- XmlSchemaGroup.cs
- Point.cs
- ActivityTrace.cs
- FontSource.cs
- TrackPointCollection.cs
- TreeNodeBinding.cs
- SamlAction.cs
- DataSourceSelectArguments.cs
- InstanceLockedException.cs
- ChangeProcessor.cs
- _SingleItemRequestCache.cs
- DataSourceControlBuilder.cs
- JsonUriDataContract.cs
- StrokeNode.cs
- URL.cs
- SerializationAttributes.cs
- ToolStripCustomTypeDescriptor.cs
- BaseValidatorDesigner.cs
- AutomationEvent.cs
- CapabilitiesAssignment.cs
- ToolBarOverflowPanel.cs
- BamlBinaryWriter.cs
- AuthenticationServiceManager.cs
- PreloadHost.cs
- OAVariantLib.cs
- externdll.cs
- EventLogTraceListener.cs
- MemoryStream.cs
- URI.cs
- DPAPIProtectedConfigurationProvider.cs
- PerspectiveCamera.cs
- GroupQuery.cs
- StringBuilder.cs
- MappingMetadataHelper.cs
- MetafileHeader.cs
- MutexSecurity.cs
- HandleRef.cs
- CryptoApi.cs
- NetworkAddressChange.cs
- ContractInstanceProvider.cs
- FloatAverageAggregationOperator.cs
- FileDialog.cs
- WriterOutput.cs
- TrustManager.cs
- XsltInput.cs
- InvokePattern.cs
- Path.cs
- AssociativeAggregationOperator.cs
- StrokeCollection2.cs
- ValuePattern.cs
- RtType.cs
- TextEditorSelection.cs