Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / tx / System / Transactions / Trace / TraceRecord.cs / 1305376 / TraceRecord.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Transactions.Diagnostics { using System; using System.Diagnostics; using System.Globalization; using System.Text; using System.Xml; ////// Base class for the team-specific traces that contain structured data. /// internal abstract class TraceRecord { internal protected const string EventIdBase = "http://schemas.microsoft.com/2004/03/Transactions/"; internal protected const string NamespaceSuffix = "TraceRecord"; ////// Defines object layout. /// internal virtual string EventId { get { return EventIdBase + "Empty" + TraceRecord.NamespaceSuffix; } } public override string ToString() { PlainXmlWriter xml = new PlainXmlWriter(); WriteTo(xml); return xml.ToString(); } internal abstract void WriteTo(XmlWriter xml); } } // 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
- XmlByteStreamReader.cs
- ArithmeticException.cs
- ExceptionHelpers.cs
- CommandField.cs
- AdornerHitTestResult.cs
- SQLBinary.cs
- WebConfigurationManager.cs
- ComponentConverter.cs
- PlanCompilerUtil.cs
- SoapIgnoreAttribute.cs
- WebPartZone.cs
- Floater.cs
- _LoggingObject.cs
- TypedRowGenerator.cs
- RootBrowserWindowProxy.cs
- Verify.cs
- SqlConnectionString.cs
- Binding.cs
- CodeTypeReferenceExpression.cs
- __TransparentProxy.cs
- DefaultSerializationProviderAttribute.cs
- StringKeyFrameCollection.cs
- SyntaxCheck.cs
- VisualTarget.cs
- AddInDeploymentState.cs
- ToolStripItemTextRenderEventArgs.cs
- CatalogZoneAutoFormat.cs
- WhileDesigner.cs
- XmlCharacterData.cs
- NameGenerator.cs
- WorkflowInspectionServices.cs
- X509Certificate.cs
- ProfileGroupSettings.cs
- WpfWebRequestHelper.cs
- TreeViewImageGenerator.cs
- LinkClickEvent.cs
- ArrangedElementCollection.cs
- Button.cs
- PointAnimationBase.cs
- SystemException.cs
- serverconfig.cs
- Base64Stream.cs
- WSFederationHttpBindingCollectionElement.cs
- UnknownWrapper.cs
- SR.cs
- SqlRecordBuffer.cs
- PrimitiveType.cs
- MeasureItemEvent.cs
- ToolStripItemTextRenderEventArgs.cs
- BindingExpressionUncommonField.cs
- cryptoapiTransform.cs
- TableItemStyle.cs
- RangeValueProviderWrapper.cs
- ErrorWrapper.cs
- BindValidationContext.cs
- PrintPreviewControl.cs
- returneventsaver.cs
- SettingsProperty.cs
- SafeThreadHandle.cs
- SiteMapNodeItemEventArgs.cs
- EncryptedPackageFilter.cs
- Point.cs
- ListViewEditEventArgs.cs
- CqlIdentifiers.cs
- TextEditorTyping.cs
- ModuleElement.cs
- FileSecurity.cs
- GraphicsContainer.cs
- RepeaterCommandEventArgs.cs
- LinqExpressionNormalizer.cs
- TextBlock.cs
- HtmlInputButton.cs
- HtmlEncodedRawTextWriter.cs
- InfoCardCryptoHelper.cs
- SymbolMethod.cs
- Script.cs
- EnumerableRowCollection.cs
- NullableLongSumAggregationOperator.cs
- ReferentialConstraint.cs
- RootBrowserWindowAutomationPeer.cs
- RawStylusInput.cs
- FormattedText.cs
- WebPartsSection.cs
- DynamicControl.cs
- XmlText.cs
- WorkflowTraceTransfer.cs
- ObjectPersistData.cs
- ActiveXMessageFormatter.cs
- IndexOutOfRangeException.cs
- MobileSysDescriptionAttribute.cs
- AssemblyAttributesGoHere.cs
- PolyQuadraticBezierSegment.cs
- SuspendDesigner.cs
- FrameworkName.cs
- ResourceBinder.cs
- DataGridViewAutoSizeModeEventArgs.cs
- EdmToObjectNamespaceMap.cs
- DataPagerFieldItem.cs
- PaperSource.cs
- TypeRefElement.cs