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
- DataGridViewHeaderCell.cs
- StringConverter.cs
- StringAnimationUsingKeyFrames.cs
- FlowDocumentScrollViewer.cs
- HtmlUtf8RawTextWriter.cs
- ProviderSettingsCollection.cs
- ListItem.cs
- ControlEvent.cs
- GraphicsPath.cs
- BinHexDecoder.cs
- OutputCacheProfileCollection.cs
- TempFiles.cs
- DbConnectionInternal.cs
- ToolStripDropDownMenu.cs
- XmlStreamedByteStreamReader.cs
- SystemSounds.cs
- TextTrailingCharacterEllipsis.cs
- BatchWriter.cs
- UriParserTemplates.cs
- SafeMarshalContext.cs
- Label.cs
- Expression.DebuggerProxy.cs
- SerializationEventsCache.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- UriSection.cs
- SocketElement.cs
- DbProviderFactory.cs
- LogEntry.cs
- COM2ColorConverter.cs
- TextParentUndoUnit.cs
- WebPartConnectionsConfigureVerb.cs
- PackWebRequest.cs
- CompiledQuery.cs
- BrowserCapabilitiesCodeGenerator.cs
- XmlSchemaSimpleContentExtension.cs
- KeyEvent.cs
- NavigatorInput.cs
- TreeBuilderXamlTranslator.cs
- CodeIdentifier.cs
- MetadataHelper.cs
- DateRangeEvent.cs
- Cursors.cs
- DateTimeFormat.cs
- ClosableStream.cs
- CompiledQuery.cs
- ToolStripDropDownItem.cs
- WebReferenceOptions.cs
- AsymmetricKeyExchangeDeformatter.cs
- DateTimePicker.cs
- EncryptedReference.cs
- DataGridRowHeader.cs
- HtmlInputImage.cs
- VerticalConnector.xaml.cs
- CustomCategoryAttribute.cs
- ListViewItem.cs
- DoubleAnimationBase.cs
- UserInitiatedRoutedEventPermission.cs
- StylusPointPropertyInfoDefaults.cs
- JapaneseCalendar.cs
- WebPartActionVerb.cs
- BreakRecordTable.cs
- WebPartDeleteVerb.cs
- ConnectionPoolManager.cs
- DateTimeConstantAttribute.cs
- DatatypeImplementation.cs
- DataGridAddNewRow.cs
- EntityDataSourceWrapperCollection.cs
- MaskInputRejectedEventArgs.cs
- RadioButtonList.cs
- DragStartedEventArgs.cs
- SingleStorage.cs
- KeyEventArgs.cs
- QuadraticBezierSegment.cs
- Size.cs
- Avt.cs
- QilChoice.cs
- WorkBatch.cs
- InstanceDescriptor.cs
- StorageFunctionMapping.cs
- InputLangChangeRequestEvent.cs
- TextSegment.cs
- ChannelRequirements.cs
- XmlTextEncoder.cs
- ExtensionQuery.cs
- FeatureSupport.cs
- Viewport3DVisual.cs
- XmlSchemaObjectTable.cs
- TrackBarRenderer.cs
- CoreChannel.cs
- PrimaryKeyTypeConverter.cs
- FileLoadException.cs
- ResizeBehavior.cs
- ChildChangedEventArgs.cs
- ChangeInterceptorAttribute.cs
- FullTrustAssembliesSection.cs
- WindowsListViewItem.cs
- ChineseLunisolarCalendar.cs
- FileUpload.cs
- ParamArrayAttribute.cs
- Material.cs