Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / System.Runtime.DurableInstancing / System / Runtime / Diagnostics / TraceRecord.cs / 1305376 / TraceRecord.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.Runtime.Diagnostics { using System.Xml; [Serializable] class TraceRecord { protected const string EventIdBase = "http://schemas.microsoft.com/2006/08/ServiceModel/"; protected const string NamespaceSuffix = "TraceRecord"; internal virtual string EventId { get { return BuildEventId("Empty"); } } internal virtual void WriteTo(XmlWriter writer) { } protected string BuildEventId(string eventId) { return TraceRecord.EventIdBase + eventId + TraceRecord.NamespaceSuffix; } protected string XmlEncode(string text) { return DiagnosticTrace.XmlEncode(text); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.Runtime.Diagnostics { using System.Xml; [Serializable] class TraceRecord { protected const string EventIdBase = "http://schemas.microsoft.com/2006/08/ServiceModel/"; protected const string NamespaceSuffix = "TraceRecord"; internal virtual string EventId { get { return BuildEventId("Empty"); } } internal virtual void WriteTo(XmlWriter writer) { } protected string BuildEventId(string eventId) { return TraceRecord.EventIdBase + eventId + TraceRecord.NamespaceSuffix; } protected string XmlEncode(string text) { return DiagnosticTrace.XmlEncode(text); } } } // 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
- EncodingInfo.cs
- Select.cs
- DataGridViewColumnCollection.cs
- Logging.cs
- CatalogPartChrome.cs
- EditorZoneBase.cs
- GeneralTransformGroup.cs
- AsyncOperation.cs
- Graphics.cs
- KeyInterop.cs
- RectIndependentAnimationStorage.cs
- NamespaceInfo.cs
- XmlSchema.cs
- X509Extension.cs
- WindowsTokenRoleProvider.cs
- SafeNativeMethods.cs
- SpellerHighlightLayer.cs
- EntityParameter.cs
- CharacterString.cs
- Resources.Designer.cs
- ComplexBindingPropertiesAttribute.cs
- UnsafeNativeMethodsMilCoreApi.cs
- BaseParagraph.cs
- __Error.cs
- TransformedBitmap.cs
- TextEditorDragDrop.cs
- DataRow.cs
- selecteditemcollection.cs
- ApplicationId.cs
- WebServiceTypeData.cs
- ByteConverter.cs
- BitmapEffectOutputConnector.cs
- TaiwanCalendar.cs
- DebuggerAttributes.cs
- PasswordBox.cs
- UserControlBuildProvider.cs
- ScrollableControl.cs
- XmlSchemaExternal.cs
- RoleServiceManager.cs
- JavaScriptSerializer.cs
- BaseTemplateParser.cs
- RuntimeConfigurationRecord.cs
- FlowNode.cs
- InstanceValue.cs
- EncodingInfo.cs
- HelpInfo.cs
- ImageAttributes.cs
- OrthographicCamera.cs
- Queue.cs
- ObjectCloneHelper.cs
- DecimalAverageAggregationOperator.cs
- UserValidatedEventArgs.cs
- CqlLexer.cs
- CacheEntry.cs
- UIAgentAsyncBeginRequest.cs
- ValidationHelpers.cs
- Clock.cs
- AsymmetricCryptoHandle.cs
- ConnectionsZone.cs
- OutOfProcStateClientManager.cs
- RootBuilder.cs
- HitTestDrawingContextWalker.cs
- SequenceRangeCollection.cs
- ArraySegment.cs
- TagPrefixAttribute.cs
- UrlAuthorizationModule.cs
- ToolBarButtonClickEvent.cs
- XamlPoint3DCollectionSerializer.cs
- Identity.cs
- EditingCommands.cs
- CharacterShapingProperties.cs
- WebPartZoneAutoFormat.cs
- ProfilePropertyNameValidator.cs
- BasicKeyConstraint.cs
- IPPacketInformation.cs
- loginstatus.cs
- IisTraceWebEventProvider.cs
- EntitySetRetriever.cs
- VerificationAttribute.cs
- InternalConfigHost.cs
- SoapFault.cs
- ScriptMethodAttribute.cs
- SoapFaultCodes.cs
- ExceptionUtil.cs
- ParamArrayAttribute.cs
- OleStrCAMarshaler.cs
- RequestTimeoutManager.cs
- LinqDataSourceHelper.cs
- ADRoleFactory.cs
- SafeMemoryMappedFileHandle.cs
- SplitContainer.cs
- DbConnectionHelper.cs
- _NativeSSPI.cs
- WindowsTooltip.cs
- SegmentInfo.cs
- ErrorWebPart.cs
- RC2.cs
- ClassHandlersStore.cs
- _SingleItemRequestCache.cs
- XPathNavigatorReader.cs