Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Diagnostics / MessageDroppedTraceRecord.cs / 1 / MessageDroppedTraceRecord.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.Diagnostics { using System; using System.ServiceModel.Channels; using System.ServiceModel; using System.Diagnostics; using System.Globalization; using System.IdentityModel.Claims; using System.IdentityModel.Policy; using System.Xml; using System.Xml.Serialization; internal sealed class MessageDroppedTraceRecord : MessageTraceRecord { EndpointAddress endpointAddress; internal MessageDroppedTraceRecord(Message message, EndpointAddress endpointAddress): base(message) { this.endpointAddress = endpointAddress; } internal override string EventId { get { return TraceRecord.EventIdBase + "MessageDropped" + TraceRecord.NamespaceSuffix; } } internal override void WriteTo(XmlWriter xml) { base.WriteTo(xml); if (this.endpointAddress != null) { xml.WriteStartElement("EndpointAddress"); this.endpointAddress.WriteTo(AddressingVersion.WSAddressing10, xml); xml.WriteEndElement(); } } } } // 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
- PackageStore.cs
- ReadContentAsBinaryHelper.cs
- Underline.cs
- CacheOutputQuery.cs
- CombinedHttpChannel.cs
- ApplicationServicesHostFactory.cs
- OptimisticConcurrencyException.cs
- ObjectStorage.cs
- PropertyAccessVisitor.cs
- DbParameterHelper.cs
- Debug.cs
- PropertyDescriptor.cs
- Pts.cs
- XmlName.cs
- ToolStripDropDownClosedEventArgs.cs
- UriScheme.cs
- DbCommandTree.cs
- WindowsFont.cs
- DataBindingExpressionBuilder.cs
- VectorCollection.cs
- DecoderFallbackWithFailureFlag.cs
- DataGridRow.cs
- XmlNamespaceMapping.cs
- DataGridTextBoxColumn.cs
- RepeatButtonAutomationPeer.cs
- ConfigurationLockCollection.cs
- Popup.cs
- MachineKeyValidationConverter.cs
- ValueExpressions.cs
- FileUtil.cs
- HtmlInputReset.cs
- RuntimeWrappedException.cs
- CodeExporter.cs
- MediaEntryAttribute.cs
- UITypeEditor.cs
- OrderedDictionary.cs
- ScaleTransform3D.cs
- ProcessModelInfo.cs
- PeerContact.cs
- TabPanel.cs
- WindowsScrollBarBits.cs
- Point4DValueSerializer.cs
- xsdvalidator.cs
- IncrementalReadDecoders.cs
- EntityContainerEntitySet.cs
- RNGCryptoServiceProvider.cs
- EventArgs.cs
- TextServicesDisplayAttribute.cs
- NodeFunctions.cs
- Point3DCollection.cs
- SqlClientFactory.cs
- DataServiceQueryContinuation.cs
- DataControlFieldHeaderCell.cs
- XmlDataCollection.cs
- GridViewColumnCollectionChangedEventArgs.cs
- EpmHelper.cs
- GB18030Encoding.cs
- ClientProxyGenerator.cs
- StyleCollection.cs
- UriParserTemplates.cs
- SizeConverter.cs
- XslAst.cs
- FormViewInsertEventArgs.cs
- LinqDataSourceContextEventArgs.cs
- FlowLayout.cs
- CompositeCollection.cs
- Validator.cs
- WebScriptClientGenerator.cs
- CompilationLock.cs
- PaperSize.cs
- HtmlShim.cs
- PointAnimation.cs
- CompilerResults.cs
- CharEntityEncoderFallback.cs
- HtmlEmptyTagControlBuilder.cs
- FusionWrap.cs
- ClientSettings.cs
- PageRequestManager.cs
- ToolTipService.cs
- SystemIPGlobalStatistics.cs
- StylesEditorDialog.cs
- DSASignatureDeformatter.cs
- ChannelFactory.cs
- Parsers.cs
- RuleValidation.cs
- PagerSettings.cs
- ListViewInsertedEventArgs.cs
- XmlProcessingInstruction.cs
- MeshGeometry3D.cs
- WebPartManagerDesigner.cs
- ObjectDataSource.cs
- KeyFrames.cs
- PackWebResponse.cs
- Classification.cs
- HandlerBase.cs
- ByteRangeDownloader.cs
- BaseParaClient.cs
- X509Utils.cs
- RegexMatch.cs
- XmlSchemaSimpleContentRestriction.cs