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
- GCHandleCookieTable.cs
- DataGridViewComboBoxColumnDesigner.cs
- DataPointer.cs
- WsdlBuildProvider.cs
- XmlParserContext.cs
- OletxVolatileEnlistment.cs
- XPathException.cs
- _SslSessionsCache.cs
- HtmlInputCheckBox.cs
- ObjectTag.cs
- AuthorizationSection.cs
- DeploymentSection.cs
- MessageFormatterConverter.cs
- XPathExpr.cs
- LinkTarget.cs
- XmlWriter.cs
- ZoneLinkButton.cs
- ToolStripSystemRenderer.cs
- EnvironmentPermission.cs
- Descriptor.cs
- RedirectionProxy.cs
- MyContact.cs
- WMIGenerator.cs
- SecuritySessionServerSettings.cs
- HiddenFieldPageStatePersister.cs
- ListControl.cs
- RowCache.cs
- CompareValidator.cs
- DSASignatureDeformatter.cs
- WebPartMenu.cs
- VBIdentifierName.cs
- DataControlFieldTypeEditor.cs
- OutOfMemoryException.cs
- FixedDocument.cs
- SecurityIdentifierElement.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- ButtonRenderer.cs
- RegisteredHiddenField.cs
- RtfToXamlLexer.cs
- ObjectCloneHelper.cs
- InputReferenceExpression.cs
- FileAuthorizationModule.cs
- SHA256Managed.cs
- TypeToArgumentTypeConverter.cs
- DataSysAttribute.cs
- XPathDocument.cs
- PointHitTestResult.cs
- ModelItemDictionary.cs
- DataSourceNameHandler.cs
- Stackframe.cs
- ModuleConfigurationInfo.cs
- StreamResourceInfo.cs
- LinkedResourceCollection.cs
- XsltException.cs
- ReaderWriterLockWrapper.cs
- VarRemapper.cs
- FormConverter.cs
- WindowsListViewGroup.cs
- Underline.cs
- TableLayoutPanelCodeDomSerializer.cs
- UnsafeNativeMethods.cs
- ProgressiveCrcCalculatingStream.cs
- EdmToObjectNamespaceMap.cs
- RecordsAffectedEventArgs.cs
- Splitter.cs
- CacheSection.cs
- ActivityFunc.cs
- SpellerStatusTable.cs
- DrawListViewItemEventArgs.cs
- FileLevelControlBuilderAttribute.cs
- ColorTransform.cs
- XmlAttributes.cs
- ObjectKeyFrameCollection.cs
- StorageScalarPropertyMapping.cs
- WebScriptServiceHostFactory.cs
- ADRoleFactory.cs
- MatrixCamera.cs
- Rotation3D.cs
- ProtocolsConfigurationHandler.cs
- relpropertyhelper.cs
- CompilerState.cs
- ProcessProtocolHandler.cs
- Ticks.cs
- ChangesetResponse.cs
- WebControlToolBoxItem.cs
- GeneralTransform3DGroup.cs
- DiffuseMaterial.cs
- AtomServiceDocumentSerializer.cs
- ComEventsHelper.cs
- HighlightVisual.cs
- ConsoleKeyInfo.cs
- ConstrainedGroup.cs
- CodeMethodReturnStatement.cs
- StringValidatorAttribute.cs
- UnionCodeGroup.cs
- BitmapSizeOptions.cs
- XmlSchemaGroupRef.cs
- GeneralTransform.cs
- PostBackOptions.cs
- ArgIterator.cs