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
- HitTestFilterBehavior.cs
- ReadOnlyHierarchicalDataSource.cs
- TimeSpanFormat.cs
- EnumerableRowCollectionExtensions.cs
- ListenerAdapterBase.cs
- DesignTableCollection.cs
- PtsCache.cs
- ListViewContainer.cs
- ItemsControlAutomationPeer.cs
- BindingFormattingDialog.cs
- ServiceReflector.cs
- CreateUserErrorEventArgs.cs
- PropertyStore.cs
- LambdaCompiler.Generated.cs
- MeasurementDCInfo.cs
- DataErrorValidationRule.cs
- PngBitmapEncoder.cs
- SQLDateTimeStorage.cs
- SqlDataSourceRefreshSchemaForm.cs
- NetworkInformationPermission.cs
- RegexRunnerFactory.cs
- TreeNodeBinding.cs
- MenuAutomationPeer.cs
- CallTemplateAction.cs
- DelayedRegex.cs
- XmlSchemaComplexType.cs
- CodeSnippetCompileUnit.cs
- OutOfProcStateClientManager.cs
- HostingEnvironment.cs
- HttpWriter.cs
- HttpDictionary.cs
- TextAutomationPeer.cs
- CommandEventArgs.cs
- SafeCoTaskMem.cs
- MimeWriter.cs
- _ShellExpression.cs
- EventToken.cs
- FormsAuthentication.cs
- TypeExtensions.cs
- JsonEnumDataContract.cs
- WorkflowApplication.cs
- MarkerProperties.cs
- TextRangeSerialization.cs
- SelectionProviderWrapper.cs
- ListSourceHelper.cs
- TargetConverter.cs
- ElementsClipboardData.cs
- Peer.cs
- StatusBar.cs
- CompositeCollection.cs
- SpecularMaterial.cs
- BadImageFormatException.cs
- ConfigDefinitionUpdates.cs
- TrackBarRenderer.cs
- CheckBoxBaseAdapter.cs
- InvokeGenerator.cs
- DiagnosticsConfiguration.cs
- CustomTypeDescriptor.cs
- LineUtil.cs
- DiagnosticsConfigurationHandler.cs
- APCustomTypeDescriptor.cs
- DbRetry.cs
- FatalException.cs
- XmlSchemaParticle.cs
- ToolStripPanelCell.cs
- TemplateInstanceAttribute.cs
- JsonEncodingStreamWrapper.cs
- EditorZoneBase.cs
- CollectionViewGroup.cs
- HtmlControlPersistable.cs
- SqlExpressionNullability.cs
- Border.cs
- HttpBindingExtension.cs
- SqlDataSourceConfigureSortForm.cs
- ByeOperationCD1AsyncResult.cs
- MenuItemCollection.cs
- XmlNullResolver.cs
- MetadataExchangeClient.cs
- CanonicalFontFamilyReference.cs
- TraceSection.cs
- ParamArrayAttribute.cs
- Parser.cs
- Pair.cs
- DESCryptoServiceProvider.cs
- VisualTransition.cs
- MasterPageBuildProvider.cs
- SmtpLoginAuthenticationModule.cs
- DupHandleConnectionReader.cs
- WizardPanelChangingEventArgs.cs
- DbProviderServices.cs
- TdsParserSessionPool.cs
- SmiMetaDataProperty.cs
- TrimSurroundingWhitespaceAttribute.cs
- HtmlLink.cs
- PersonalizationAdministration.cs
- PersonalizablePropertyEntry.cs
- DetailsViewUpdateEventArgs.cs
- HierarchicalDataSourceControl.cs
- FragmentQueryKB.cs
- CopyCodeAction.cs