Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / CallbackDebugElement.cs / 1 / CallbackDebugElement.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System.Configuration; using System.ServiceModel.Description; public sealed partial class CallbackDebugElement : BehaviorExtensionElement { public CallbackDebugElement() { } [ConfigurationProperty(ConfigurationStrings.IncludeExceptionDetailInFaults, DefaultValue = false)] public bool IncludeExceptionDetailInFaults { get { return (bool)base[ConfigurationStrings.IncludeExceptionDetailInFaults]; } set { base[ConfigurationStrings.IncludeExceptionDetailInFaults] = value; } } public override void CopyFrom(ServiceModelExtensionElement from) { base.CopyFrom(from); CallbackDebugElement source = (CallbackDebugElement)from; #pragma warning suppress 56506 //[....]; base.CopyFrom() check for 'from' being null this.IncludeExceptionDetailInFaults = source.IncludeExceptionDetailInFaults; } protected internal override object CreateBehavior() { return new CallbackDebugBehavior(this.IncludeExceptionDetailInFaults); } public override Type BehaviorType { get { return typeof(CallbackDebugBehavior); } } } } // 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
- MediaEntryAttribute.cs
- DataGridPagerStyle.cs
- ObjectDataSourceMethodEditor.cs
- LocalFileSettingsProvider.cs
- CompilerParameters.cs
- ProcessModule.cs
- FixedHyperLink.cs
- WorkflowRuntimeElement.cs
- BmpBitmapDecoder.cs
- ProfileEventArgs.cs
- SamlAssertion.cs
- EmptyStringExpandableObjectConverter.cs
- OdbcPermission.cs
- HtmlInputCheckBox.cs
- VBIdentifierNameEditor.cs
- XDRSchema.cs
- HyperLink.cs
- TextCompositionManager.cs
- DoWorkEventArgs.cs
- CodeIndexerExpression.cs
- SessionStateItemCollection.cs
- HttpRequestCacheValidator.cs
- PreviousTrackingServiceAttribute.cs
- ErrorRuntimeConfig.cs
- LogSwitch.cs
- MessagePartProtectionMode.cs
- Parameter.cs
- ReadOnlyActivityGlyph.cs
- DLinqAssociationProvider.cs
- BoundPropertyEntry.cs
- UnmanagedBitmapWrapper.cs
- ListCollectionView.cs
- SemaphoreFullException.cs
- _SslSessionsCache.cs
- login.cs
- CryptoKeySecurity.cs
- Int32CollectionConverter.cs
- PropertyDescriptor.cs
- HttpHandlersSection.cs
- DotExpr.cs
- HealthMonitoringSectionHelper.cs
- FlowPanelDesigner.cs
- _DisconnectOverlappedAsyncResult.cs
- AtomPub10ServiceDocumentFormatter.cs
- PermissionToken.cs
- TransformerInfo.cs
- DocumentPaginator.cs
- ElementAtQueryOperator.cs
- WorkItem.cs
- DeferrableContent.cs
- NativeMethods.cs
- UInt16.cs
- MergeFilterQuery.cs
- ClientScriptItem.cs
- formatter.cs
- ServiceObjectContainer.cs
- IsolatedStorageFilePermission.cs
- UrlMappingsModule.cs
- InstallHelper.cs
- HostedHttpTransportManager.cs
- DateTimeFormatInfoScanner.cs
- UpdatePanelControlTrigger.cs
- EncoderExceptionFallback.cs
- XPathEmptyIterator.cs
- DbLambda.cs
- ApplicationSettingsBase.cs
- DesignerActionPropertyItem.cs
- RangeBaseAutomationPeer.cs
- ReadOnlyDataSourceView.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- ResXResourceReader.cs
- BackgroundFormatInfo.cs
- DataContractJsonSerializer.cs
- NumberAction.cs
- WindowsGraphics.cs
- UnhandledExceptionEventArgs.cs
- XPathAncestorIterator.cs
- SimpleTypesSurrogate.cs
- SigningDialog.cs
- NativeMethods.cs
- Hyperlink.cs
- HttpModuleActionCollection.cs
- ResizingMessageFilter.cs
- CodeVariableReferenceExpression.cs
- RouteData.cs
- NamespaceQuery.cs
- ImportContext.cs
- SkipStoryboardToFill.cs
- DataListCommandEventArgs.cs
- SymDocumentType.cs
- WebPartDisplayModeCollection.cs
- CompiledAction.cs
- InfoCardCryptoHelper.cs
- safex509handles.cs
- EncoderReplacementFallback.cs
- TextEndOfParagraph.cs
- BitmapEffectInputData.cs
- Variant.cs
- XmlSchemaSimpleTypeUnion.cs
- LongTypeConverter.cs