Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / System.Runtime.DurableInstancing / System / Runtime / Diagnostics / StringTraceRecord.cs / 1305376 / StringTraceRecord.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.Runtime.Diagnostics { using System; using System.Xml; class StringTraceRecord : TraceRecord { string elementName; string content; internal StringTraceRecord(string elementName, string content) { this.elementName = elementName; this.content = content; } internal override string EventId { get { return BuildEventId("String"); } } internal override void WriteTo(XmlWriter writer) { writer.WriteElementString(elementName, content); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Parsers.cs
- XpsS0ValidatingLoader.cs
- serverconfig.cs
- Canonicalizers.cs
- ContractNamespaceAttribute.cs
- HttpListenerContext.cs
- SiteMembershipCondition.cs
- ColorMap.cs
- XmlDocumentFragment.cs
- SqlDataReader.cs
- XsltSettings.cs
- WebPartZoneCollection.cs
- InfocardExtendedInformationCollection.cs
- ICspAsymmetricAlgorithm.cs
- IntegerCollectionEditor.cs
- RegexCapture.cs
- MessageVersion.cs
- TaskFormBase.cs
- ProcessManager.cs
- XmlAttributes.cs
- MetadataItemSerializer.cs
- ExpressionEvaluator.cs
- DataTableCollection.cs
- _OverlappedAsyncResult.cs
- PassportAuthenticationModule.cs
- Opcode.cs
- MimeWriter.cs
- TypedDataSourceCodeGenerator.cs
- GridViewAutoFormat.cs
- ThreadBehavior.cs
- ToolBarTray.cs
- ServerIdentity.cs
- ClientCultureInfo.cs
- TemplateParser.cs
- ErrorView.xaml.cs
- DeviceContext.cs
- AssociationType.cs
- Vector3DAnimation.cs
- ZoneButton.cs
- ValueUtilsSmi.cs
- WebHttpElement.cs
- SiteMap.cs
- AssemblyAttributes.cs
- ExpressionWriter.cs
- UniqueEventHelper.cs
- OleDbCommandBuilder.cs
- InfoCardConstants.cs
- QueuePathDialog.cs
- TriggerBase.cs
- MailMessageEventArgs.cs
- NumberSubstitution.cs
- ZipIOLocalFileBlock.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- EasingKeyFrames.cs
- XhtmlMobileTextWriter.cs
- KeyboardEventArgs.cs
- ValueExpressions.cs
- DataGridViewCheckBoxColumn.cs
- SvcMapFile.cs
- Pen.cs
- HashCodeCombiner.cs
- HiddenField.cs
- DataGridViewCellStyleEditor.cs
- ClientScriptItem.cs
- ResolveCompletedEventArgs.cs
- FullTextState.cs
- DataRowCollection.cs
- EventProperty.cs
- ProcessHostServerConfig.cs
- InvokePattern.cs
- Roles.cs
- PresentationAppDomainManager.cs
- MsmqInputChannelListenerBase.cs
- _ShellExpression.cs
- DbConnectionFactory.cs
- PassportAuthenticationModule.cs
- UInt32Converter.cs
- CodeSnippetExpression.cs
- AppDomainManager.cs
- FlatButtonAppearance.cs
- AutomationIdentifierGuids.cs
- StatusStrip.cs
- XPathSingletonIterator.cs
- DbDeleteCommandTree.cs
- Transform3DCollection.cs
- OSFeature.cs
- ArraySegment.cs
- MaxSessionCountExceededException.cs
- DataServiceKeyAttribute.cs
- NumericExpr.cs
- XPathEmptyIterator.cs
- MissingFieldException.cs
- XXXInfos.cs
- ConnectionProviderAttribute.cs
- DbProviderFactoriesConfigurationHandler.cs
- DirectoryRootQuery.cs
- GeometryHitTestParameters.cs
- StorageEntitySetMapping.cs
- SystemTcpConnection.cs
- XpsFixedPageReaderWriter.cs