Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Diagnostics / ChannelTraceRecord.cs / 1 / ChannelTraceRecord.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.Diagnostics { using System; using System.Diagnostics; using System.Globalization; using System.ServiceModel.Channels; using System.ServiceModel.Diagnostics; using System.Text; using System.Xml; internal class ChannelTraceRecord : TraceRecord { string channelType; internal ChannelTraceRecord(IChannel channel) { this.channelType = channel == null ? null : channel.ToString(); } internal override string EventId { get { return TraceRecord.EventIdBase + "Channel" + TraceRecord.NamespaceSuffix; } } internal override void WriteTo(XmlWriter xml) { if (this.channelType != null) { xml.WriteElementString("ChannelType", this.channelType); } } } } // 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
- AsyncOperation.cs
- NameValueConfigurationElement.cs
- HashSetEqualityComparer.cs
- ActivityTrace.cs
- Atom10FormatterFactory.cs
- PerformanceCounterCategory.cs
- WindowsFormsHelpers.cs
- ParameterToken.cs
- SoapHeaderException.cs
- Expression.cs
- RemotingAttributes.cs
- IApplicationTrustManager.cs
- PageCatalogPart.cs
- XamlVector3DCollectionSerializer.cs
- Pair.cs
- AssemblyAttributes.cs
- RestHandlerFactory.cs
- WriteTimeStream.cs
- ObjectDataSource.cs
- ToolStripPanel.cs
- DbProviderFactoriesConfigurationHandler.cs
- EventDescriptorCollection.cs
- TextTreeText.cs
- QilUnary.cs
- WebPartAddingEventArgs.cs
- WebResourceAttribute.cs
- QilFactory.cs
- GenericsInstances.cs
- UserCancellationException.cs
- ChineseLunisolarCalendar.cs
- AbstractSvcMapFileLoader.cs
- OleDbTransaction.cs
- RbTree.cs
- NativeCppClassAttribute.cs
- CustomMenuItemCollection.cs
- KeyedCollection.cs
- ModuleBuilder.cs
- TextEditorSelection.cs
- path.cs
- SqlUtils.cs
- CodeAccessSecurityEngine.cs
- DataMember.cs
- ResponseStream.cs
- LoadMessageLogger.cs
- WebControl.cs
- ChtmlLinkAdapter.cs
- WindowsPrincipal.cs
- UserPreference.cs
- XmlDictionaryString.cs
- ComboBoxAutomationPeer.cs
- FixedTextSelectionProcessor.cs
- XmlTypeAttribute.cs
- QuaternionIndependentAnimationStorage.cs
- CustomAttributeBuilder.cs
- InputLanguage.cs
- WebPartHeaderCloseVerb.cs
- ReflectTypeDescriptionProvider.cs
- EncodingNLS.cs
- RegexStringValidator.cs
- ObjectManager.cs
- FillErrorEventArgs.cs
- TextServicesManager.cs
- SafeWaitHandle.cs
- WebPart.cs
- SecurityPermission.cs
- CompilerInfo.cs
- DataViewListener.cs
- CodeIdentifiers.cs
- SqlUserDefinedAggregateAttribute.cs
- StateMachineAction.cs
- MultipleViewPattern.cs
- PriorityRange.cs
- FunctionGenerator.cs
- ColumnMap.cs
- AddInServer.cs
- InfoCardArgumentException.cs
- LogSwitch.cs
- MetadataItemSerializer.cs
- PerformanceCounterCategory.cs
- Tracking.cs
- StringUtil.cs
- ToolStripButton.cs
- IDictionary.cs
- SupportsEventValidationAttribute.cs
- AnnotationHighlightLayer.cs
- SqlException.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- InitializerFacet.cs
- processwaithandle.cs
- OleDragDropHandler.cs
- FontFamilyValueSerializer.cs
- MembershipPasswordException.cs
- DateRangeEvent.cs
- ControlParameter.cs
- XmlCharCheckingWriter.cs
- webclient.cs
- SoapCodeExporter.cs
- DuplicateContext.cs
- DataViewListener.cs
- MarginsConverter.cs