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
- Vector3DCollection.cs
- TileBrush.cs
- DoWorkEventArgs.cs
- PopupRootAutomationPeer.cs
- Type.cs
- PersistenceProvider.cs
- PersistChildrenAttribute.cs
- TemplateEditingVerb.cs
- CheckableControlBaseAdapter.cs
- OutputCacheSection.cs
- Base64Decoder.cs
- ThreadExceptionEvent.cs
- DelayedRegex.cs
- TextTreeNode.cs
- JavaScriptSerializer.cs
- IssuanceLicense.cs
- FunctionCommandText.cs
- SkewTransform.cs
- SynchronizationContext.cs
- AttributeQuery.cs
- PropertyItem.cs
- XmlFormatExtensionPointAttribute.cs
- EmptyReadOnlyDictionaryInternal.cs
- ListChangedEventArgs.cs
- ViewPort3D.cs
- InputLangChangeRequestEvent.cs
- XamlRtfConverter.cs
- ProcessHostConfigUtils.cs
- TextPenaltyModule.cs
- WebPartConnectionsConfigureVerb.cs
- TextChangedEventArgs.cs
- TypeListConverter.cs
- ChtmlCalendarAdapter.cs
- MutableAssemblyCacheEntry.cs
- CriticalFinalizerObject.cs
- RequestCachePolicy.cs
- ArrayElementGridEntry.cs
- OleDbStruct.cs
- DbDataSourceEnumerator.cs
- VirtualDirectoryMappingCollection.cs
- PropagatorResult.cs
- PreviewControlDesigner.cs
- HttpServerVarsCollection.cs
- DirectionalLight.cs
- DockPattern.cs
- mongolianshape.cs
- FormViewModeEventArgs.cs
- DoubleIndependentAnimationStorage.cs
- DataTableCollection.cs
- EntitySqlQueryCacheKey.cs
- _FixedSizeReader.cs
- ContentPosition.cs
- GridViewSortEventArgs.cs
- ObjectManager.cs
- TypedMessageConverter.cs
- ObjectStateManagerMetadata.cs
- NavigationWindowAutomationPeer.cs
- WinCategoryAttribute.cs
- HttpCacheParams.cs
- DSASignatureDeformatter.cs
- BinHexEncoding.cs
- ParameterCollectionEditor.cs
- Membership.cs
- GatewayIPAddressInformationCollection.cs
- ArcSegment.cs
- XmlSchemaComplexContentRestriction.cs
- DynamicPhysicalDiscoSearcher.cs
- DropDownList.cs
- SafeFileMapViewHandle.cs
- TypeConverterHelper.cs
- HTMLTagNameToTypeMapper.cs
- XD.cs
- XPathScanner.cs
- WebBrowserDocumentCompletedEventHandler.cs
- ClassDataContract.cs
- EventPropertyMap.cs
- OrCondition.cs
- DockProviderWrapper.cs
- MulticastNotSupportedException.cs
- Int32CollectionValueSerializer.cs
- StylusCollection.cs
- EndpointAddressMessageFilterTable.cs
- RC2.cs
- TextSpan.cs
- ConsumerConnectionPoint.cs
- KnownTypesProvider.cs
- MultiView.cs
- DataSetMappper.cs
- ListSortDescriptionCollection.cs
- RenderData.cs
- JsonEnumDataContract.cs
- RegexCapture.cs
- SettingsPropertyCollection.cs
- ObjectStateFormatter.cs
- ContainerAction.cs
- XmlReflectionMember.cs
- InputProviderSite.cs
- OpenTypeLayout.cs
- HashUtility.cs
- ResponseStream.cs