Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Dispatcher / ErrorHandlerFaultInfo.cs / 1 / ErrorHandlerFaultInfo.cs
//------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
namespace System.ServiceModel.Dispatcher
{
using System;
using System.ServiceModel.Channels;
using System.ServiceModel;
using System.ServiceModel.Diagnostics;
internal struct ErrorHandlerFaultInfo
{
Message fault; // if this is null, then we aren't interested in sending back a fault
bool isConsideredUnhandled; // if this is true, it means Fault is the 'internal server error' fault
string defaultFaultAction;
public ErrorHandlerFaultInfo(string defaultFaultAction)
{
this.defaultFaultAction = defaultFaultAction;
this.fault = null;
this.isConsideredUnhandled = false;
}
public Message Fault
{
get { return this.fault; }
set { this.fault = value; }
}
public string DefaultFaultAction
{
get { return this.defaultFaultAction; }
set { this.defaultFaultAction = value; }
}
public bool IsConsideredUnhandled
{
get { return this.isConsideredUnhandled; }
set { this.isConsideredUnhandled = value; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataGridViewSortCompareEventArgs.cs
- EventHandlersStore.cs
- ExpressionNormalizer.cs
- OpCodes.cs
- DispatchWrapper.cs
- ECDsaCng.cs
- MobileComponentEditorPage.cs
- ToolStripSeparatorRenderEventArgs.cs
- _TransmitFileOverlappedAsyncResult.cs
- ParameterModifier.cs
- CompiledRegexRunnerFactory.cs
- TreeNodeStyle.cs
- TransformerConfigurationWizardBase.cs
- IsolatedStorageFile.cs
- RoleManagerEventArgs.cs
- ParseHttpDate.cs
- RowToParametersTransformer.cs
- WebEventTraceProvider.cs
- SafeJobHandle.cs
- SqlServer2KCompatibilityAnnotation.cs
- HierarchicalDataBoundControl.cs
- DynamicArgumentDialog.cs
- SerializationStore.cs
- SingleAnimationUsingKeyFrames.cs
- MouseGestureValueSerializer.cs
- BamlResourceContent.cs
- BufferedWebEventProvider.cs
- dsa.cs
- WebAdminConfigurationHelper.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- ProviderBase.cs
- Attributes.cs
- MaterialGroup.cs
- InputBindingCollection.cs
- StoreItemCollection.cs
- EdmType.cs
- CopyCodeAction.cs
- LateBoundBitmapDecoder.cs
- Header.cs
- CommandID.cs
- LinkedResourceCollection.cs
- ValidationHelper.cs
- ObjectSecurity.cs
- FreezableCollection.cs
- HostingEnvironmentException.cs
- TrackBarRenderer.cs
- COM2FontConverter.cs
- ConfigurationManagerInternalFactory.cs
- InternalConfigEventArgs.cs
- ExceptionUtil.cs
- __ComObject.cs
- UpWmlMobileTextWriter.cs
- ToolBarTray.cs
- ComboBox.cs
- SQLDouble.cs
- SafeSystemMetrics.cs
- ListViewInsertEventArgs.cs
- RegistryExceptionHelper.cs
- Selection.cs
- MissingSatelliteAssemblyException.cs
- Control.cs
- ListenDesigner.cs
- DetailsViewRowCollection.cs
- SqlConnectionHelper.cs
- SqlSupersetValidator.cs
- Size3D.cs
- SchemaNotation.cs
- SchemaTableColumn.cs
- XmlSchemaObject.cs
- FontInfo.cs
- ReferencedAssembly.cs
- CharacterHit.cs
- NativeCompoundFileAPIs.cs
- ChineseLunisolarCalendar.cs
- InsufficientMemoryException.cs
- WindowsGraphics.cs
- PagedDataSource.cs
- MemberRelationshipService.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- TextContainerChangedEventArgs.cs
- TreeViewAutomationPeer.cs
- DataContext.cs
- TextTrailingCharacterEllipsis.cs
- SubqueryTrackingVisitor.cs
- BamlReader.cs
- HasCopySemanticsAttribute.cs
- TransactionScope.cs
- CacheForPrimitiveTypes.cs
- WebPartEditorApplyVerb.cs
- SapiRecoInterop.cs
- HttpProfileGroupBase.cs
- StoreItemCollection.cs
- SafeFileMapViewHandle.cs
- StatusBarItem.cs
- WebPartCatalogAddVerb.cs
- PrePostDescendentsWalker.cs
- FormViewPagerRow.cs
- Normalization.cs
- VectorConverter.cs
- indexingfiltermarshaler.cs