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
- Duration.cs
- TrustManager.cs
- FileStream.cs
- NetStream.cs
- MsmqIntegrationSecurityElement.cs
- XmlEntity.cs
- DataRowView.cs
- PropertyDescriptor.cs
- SizeAnimation.cs
- SqlMethodCallConverter.cs
- ClientConfigurationSystem.cs
- SqlLiftIndependentRowExpressions.cs
- MethodToken.cs
- MatrixAnimationUsingKeyFrames.cs
- CheckableControlBaseAdapter.cs
- webproxy.cs
- DbParameterCollection.cs
- DataPointer.cs
- DbConnectionOptions.cs
- DispatcherHookEventArgs.cs
- UseLicense.cs
- __TransparentProxy.cs
- EventLogEntry.cs
- ProxyAttribute.cs
- ParserHooks.cs
- RefExpr.cs
- PartBasedPackageProperties.cs
- KeyEventArgs.cs
- AppDomainUnloadedException.cs
- URL.cs
- DesignerActionMethodItem.cs
- LocalizableAttribute.cs
- Stopwatch.cs
- FormattedText.cs
- SqlParameterizer.cs
- PointLightBase.cs
- FormViewDeletedEventArgs.cs
- TextCollapsingProperties.cs
- SharedConnectionInfo.cs
- ServicePointManager.cs
- ExtentJoinTreeNode.cs
- Soap11ServerProtocol.cs
- SqlCommand.cs
- NamedPermissionSet.cs
- Msmq4SubqueuePoisonHandler.cs
- InvokeMemberBinder.cs
- SQLMoneyStorage.cs
- List.cs
- ToolStripGripRenderEventArgs.cs
- ResizeBehavior.cs
- WorkflowRuntimeEndpoint.cs
- EntityDataSourceSelectingEventArgs.cs
- ListItemCollection.cs
- EntityModelSchemaGenerator.cs
- XmlSignatureManifest.cs
- DataView.cs
- DefaultProfileManager.cs
- Polygon.cs
- HttpCacheVary.cs
- DataServices.cs
- LabelDesigner.cs
- RayHitTestParameters.cs
- AuthenticationService.cs
- EventSinkActivityDesigner.cs
- ActivityValidator.cs
- ServiceDocument.cs
- ScriptRegistrationManager.cs
- XmlUtil.cs
- SingletonChannelAcceptor.cs
- PermissionSetEnumerator.cs
- DataGridViewColumnHeaderCell.cs
- ExtenderProvidedPropertyAttribute.cs
- PointCollection.cs
- AssemblyBuilder.cs
- FileNotFoundException.cs
- DependencySource.cs
- SplitterCancelEvent.cs
- TagPrefixCollection.cs
- Listbox.cs
- HttpGetServerProtocol.cs
- DataTemplate.cs
- SQLUtility.cs
- BindStream.cs
- SyndicationDeserializer.cs
- InfoCardProofToken.cs
- PropertyTabAttribute.cs
- Track.cs
- CapiSymmetricAlgorithm.cs
- EventSetterHandlerConverter.cs
- activationcontext.cs
- COM2Properties.cs
- ContentPlaceHolder.cs
- ServiceSecurityContext.cs
- CharacterHit.cs
- IODescriptionAttribute.cs
- SerialReceived.cs
- XmlEntityReference.cs
- XmlSchemaGroupRef.cs
- BitmapEffectGeneralTransform.cs
- ChannelReliableSession.cs