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
- Control.cs
- DesignerOptionService.cs
- ModelTypeConverter.cs
- QilReference.cs
- NonVisualControlAttribute.cs
- ModelTreeEnumerator.cs
- RSAPKCS1KeyExchangeFormatter.cs
- RestHandlerFactory.cs
- LayoutTable.cs
- SkewTransform.cs
- ObjectFullSpanRewriter.cs
- FormViewDeletedEventArgs.cs
- MobileControl.cs
- PathTooLongException.cs
- IdleTimeoutMonitor.cs
- WindowsStatusBar.cs
- CommonObjectSecurity.cs
- ProjectionAnalyzer.cs
- SerializationException.cs
- SessionPageStateSection.cs
- SuppressMergeCheckAttribute.cs
- ResourceDefaultValueAttribute.cs
- NameTable.cs
- EntityClientCacheKey.cs
- TailPinnedEventArgs.cs
- XPathNodeList.cs
- MatrixCamera.cs
- DataTableExtensions.cs
- ConstructorNeedsTagAttribute.cs
- AuthenticateEventArgs.cs
- BypassElementCollection.cs
- TiffBitmapDecoder.cs
- DataGridViewTopLeftHeaderCell.cs
- GroupItem.cs
- GenericTextProperties.cs
- EntityDataSource.cs
- IdentityVerifier.cs
- SerializationStore.cs
- CodeMethodInvokeExpression.cs
- GlyphElement.cs
- TagMapCollection.cs
- ImageAttributes.cs
- MessagePropertyVariants.cs
- DataMisalignedException.cs
- DataRowCollection.cs
- TreeWalker.cs
- SrgsOneOf.cs
- SplineKeyFrames.cs
- ProcessHostConfigUtils.cs
- MembershipUser.cs
- FileDialogCustomPlace.cs
- ArgumentException.cs
- sortedlist.cs
- _StreamFramer.cs
- NullableIntAverageAggregationOperator.cs
- GroupByExpressionRewriter.cs
- DisplayInformation.cs
- WindowsRegion.cs
- EnterpriseServicesHelper.cs
- Vector3DAnimationBase.cs
- WebPartCloseVerb.cs
- CheckBoxPopupAdapter.cs
- CodeAccessSecurityEngine.cs
- SoapDocumentServiceAttribute.cs
- EncoderReplacementFallback.cs
- InstanceView.cs
- HandlerBase.cs
- WinFormsSecurity.cs
- XmlNavigatorStack.cs
- TypeSemantics.cs
- CompositionTarget.cs
- BaseTemplateParser.cs
- EventSinkHelperWriter.cs
- ImageProxy.cs
- UIHelper.cs
- SoapTypeAttribute.cs
- OutArgument.cs
- TextElementEnumerator.cs
- DocumentPageViewAutomationPeer.cs
- FileEnumerator.cs
- ImageSource.cs
- TextFormatterHost.cs
- XmlReflectionImporter.cs
- SignedInfo.cs
- CursorConverter.cs
- XmlMembersMapping.cs
- DbConnectionClosed.cs
- XmlDocument.cs
- TdsParameterSetter.cs
- AddressHeaderCollectionElement.cs
- MbpInfo.cs
- XmlSchemaDatatype.cs
- SvcMapFileLoader.cs
- InheritedPropertyDescriptor.cs
- CommandID.cs
- Predicate.cs
- XmlSchemaSimpleContent.cs
- ProfileEventArgs.cs
- XmlSerializer.cs
- AttributeCollection.cs