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
- Tag.cs
- LoginCancelEventArgs.cs
- Qualifier.cs
- HttpResponse.cs
- _TransmitFileOverlappedAsyncResult.cs
- XsltSettings.cs
- DateTimeUtil.cs
- ImageConverter.cs
- WebScriptMetadataMessage.cs
- WebProxyScriptElement.cs
- TrackBarDesigner.cs
- DropSource.cs
- PeerName.cs
- HttpPostedFile.cs
- TraceEventCache.cs
- HtmlObjectListAdapter.cs
- BinaryOperationBinder.cs
- PackagePartCollection.cs
- DataFormat.cs
- FlowNode.cs
- SessionEndedEventArgs.cs
- BlurBitmapEffect.cs
- ErrorLog.cs
- Image.cs
- XomlCompilerHelpers.cs
- ResourceExpressionEditor.cs
- BrushConverter.cs
- MexNamedPipeBindingElement.cs
- WindowsScrollBar.cs
- ToolStripDropDownItem.cs
- NextPreviousPagerField.cs
- DataRecordObjectView.cs
- CodeMemberEvent.cs
- SendMailErrorEventArgs.cs
- LoadedOrUnloadedOperation.cs
- NonClientArea.cs
- SHA384.cs
- PathSegmentCollection.cs
- EdmFunction.cs
- SingleBodyParameterMessageFormatter.cs
- UpdateCommand.cs
- AssociativeAggregationOperator.cs
- SelfIssuedTokenFactoryCredential.cs
- SmiMetaDataProperty.cs
- ServiceRouteHandler.cs
- XmlEncoding.cs
- SortableBindingList.cs
- ListBoxItemWrapperAutomationPeer.cs
- Stacktrace.cs
- WsdlBuildProvider.cs
- DelegatingConfigHost.cs
- SQLDateTimeStorage.cs
- OutputCacheSettings.cs
- DataControlPagerLinkButton.cs
- CaseExpr.cs
- ResourcesBuildProvider.cs
- Matrix.cs
- URLIdentityPermission.cs
- ContextProperty.cs
- FixedPageStructure.cs
- CookielessHelper.cs
- NumericExpr.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- GCHandleCookieTable.cs
- Pens.cs
- BufferAllocator.cs
- TextDecoration.cs
- ParameterBinding.cs
- SiteMapDataSourceView.cs
- SoapServerMessage.cs
- NamedObject.cs
- NullableLongAverageAggregationOperator.cs
- DefaultValueTypeConverter.cs
- IndicFontClient.cs
- ProfileSection.cs
- WindowsStatic.cs
- LineServicesCallbacks.cs
- ValueQuery.cs
- FileResponseElement.cs
- XPathSingletonIterator.cs
- GenericRootAutomationPeer.cs
- NativeRecognizer.cs
- Geometry.cs
- XmlAnyElementAttribute.cs
- RenderData.cs
- PEFileEvidenceFactory.cs
- TransformPatternIdentifiers.cs
- AdCreatedEventArgs.cs
- MD5CryptoServiceProvider.cs
- SchemaHelper.cs
- XslTransform.cs
- MenuItem.cs
- EventMappingSettingsCollection.cs
- IisTraceWebEventProvider.cs
- XamlStyleSerializer.cs
- CheckedPointers.cs
- OleDbCommandBuilder.cs
- Operand.cs
- SourceFilter.cs
- SHA384Cng.cs