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
- Quaternion.cs
- OdbcConnectionHandle.cs
- EmbossBitmapEffect.cs
- StyleSheetRefUrlEditor.cs
- ToolBarOverflowPanel.cs
- Array.cs
- controlskin.cs
- EventEntry.cs
- CompilationLock.cs
- StyleSheetComponentEditor.cs
- SqlNotificationEventArgs.cs
- NonClientArea.cs
- CellParagraph.cs
- FloaterParagraph.cs
- NotifyIcon.cs
- IsolatedStoragePermission.cs
- IDReferencePropertyAttribute.cs
- SchemaManager.cs
- DataSourceListEditor.cs
- Triangle.cs
- PropertyCollection.cs
- SmuggledIUnknown.cs
- MachineKeySection.cs
- ConditionalWeakTable.cs
- DeferredTextReference.cs
- SystemTcpStatistics.cs
- SafeHandles.cs
- TypeUnloadedException.cs
- ExternalCalls.cs
- OleDbParameter.cs
- ContractMapping.cs
- ResXResourceReader.cs
- FocusTracker.cs
- SocketManager.cs
- XmlSerializerFactory.cs
- UIElementParaClient.cs
- TableCellAutomationPeer.cs
- ToolStripSeparator.cs
- KnownColorTable.cs
- TreeViewDesigner.cs
- CompoundFileReference.cs
- GridPattern.cs
- Vector.cs
- QueryContinueDragEventArgs.cs
- TemplateField.cs
- WebServiceHostFactory.cs
- TraceSwitch.cs
- AsyncSerializedWorker.cs
- EditBehavior.cs
- XmlRawWriterWrapper.cs
- ParameterCollection.cs
- SqlFlattener.cs
- EntityObject.cs
- SubpageParaClient.cs
- DataRecordInfo.cs
- ColumnBinding.cs
- EdmSchemaError.cs
- ToolStripArrowRenderEventArgs.cs
- PasswordTextContainer.cs
- SpecialFolderEnumConverter.cs
- AnchorEditor.cs
- DataGridViewTopLeftHeaderCell.cs
- ISFTagAndGuidCache.cs
- FlowDocumentPage.cs
- RadioButtonPopupAdapter.cs
- PriorityQueue.cs
- CssStyleCollection.cs
- UnsafeNativeMethods.cs
- PcmConverter.cs
- NamespaceMapping.cs
- LocationFactory.cs
- WCFServiceClientProxyGenerator.cs
- ExpandableObjectConverter.cs
- UriTemplateMatchException.cs
- ColumnHeaderCollectionEditor.cs
- Cell.cs
- ScalarConstant.cs
- SqlHelper.cs
- ComponentResourceKey.cs
- GetPageCompletedEventArgs.cs
- ServiceOperationParameter.cs
- Types.cs
- IssuedSecurityTokenProvider.cs
- Knowncolors.cs
- LinqDataSourceView.cs
- WebPartHelpVerb.cs
- ListViewDeletedEventArgs.cs
- IndexedEnumerable.cs
- HtmlTextArea.cs
- Stroke2.cs
- CssStyleCollection.cs
- JsonReader.cs
- XmlSchemaType.cs
- FontDriver.cs
- DocumentAutomationPeer.cs
- PenCursorManager.cs
- TreeNodeCollectionEditor.cs
- ListViewHitTestInfo.cs
- Font.cs
- OdbcConnection.cs