Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Channels / CloseSequenceResponse.cs / 1 / CloseSequenceResponse.cs
//---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------------------- namespace System.ServiceModel.Channels { using System.Xml; sealed class CloseSequenceResponse : BodyWriter { UniqueId identifier; public CloseSequenceResponse(UniqueId identifier) : base(true) { this.identifier = identifier; } public static CloseSequenceResponseInfo Create(XmlDictionaryReader reader) { if (reader == null) { DiagnosticUtility.DebugAssert("Argument reader cannot be null."); } CloseSequenceResponseInfo closeSequenceResponseInfo = new CloseSequenceResponseInfo(); XmlDictionaryString wsrmNs = WsrmIndex.GetNamespace(ReliableMessagingVersion.WSReliableMessaging11); reader.ReadStartElement(DXD.Wsrm11Dictionary.CloseSequenceResponse, wsrmNs); reader.ReadStartElement(XD.WsrmFeb2005Dictionary.Identifier, wsrmNs); closeSequenceResponseInfo.Identifier = reader.ReadContentAsUniqueId(); reader.ReadEndElement(); while (reader.IsStartElement()) { reader.Skip(); } reader.ReadEndElement(); return closeSequenceResponseInfo; } protected override void OnWriteBodyContents(XmlDictionaryWriter writer) { XmlDictionaryString wsrmNs = WsrmIndex.GetNamespace(ReliableMessagingVersion.WSReliableMessaging11); writer.WriteStartElement(DXD.Wsrm11Dictionary.CloseSequenceResponse, wsrmNs); writer.WriteStartElement(XD.WsrmFeb2005Dictionary.Identifier, wsrmNs); writer.WriteValue(this.identifier); writer.WriteEndElement(); writer.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
- EntityDataSourceMemberPath.cs
- Condition.cs
- Screen.cs
- QueryInterceptorAttribute.cs
- XomlCompilerParameters.cs
- Part.cs
- PreProcessor.cs
- TextDataBindingHandler.cs
- WebPartDisplayModeCancelEventArgs.cs
- TextEffect.cs
- TypeGeneratedEventArgs.cs
- DataGridDesigner.cs
- DefaultProxySection.cs
- HandlerWithFactory.cs
- PackWebRequestFactory.cs
- ListViewUpdatedEventArgs.cs
- ObjectListItemCollection.cs
- _AcceptOverlappedAsyncResult.cs
- GridViewColumnCollection.cs
- SiteMap.cs
- ValidationEventArgs.cs
- OleDbConnection.cs
- StringUtil.cs
- ProtocolsConfigurationHandler.cs
- ExpandableObjectConverter.cs
- SafeNativeMethods.cs
- BitmapEffectGeneralTransform.cs
- OrderedDictionary.cs
- CompositeDispatchFormatter.cs
- OperatingSystem.cs
- SkipStoryboardToFill.cs
- UnsafeNativeMethods.cs
- RawKeyboardInputReport.cs
- SemaphoreSecurity.cs
- UncommonField.cs
- Request.cs
- RotateTransform3D.cs
- XMLDiffLoader.cs
- SystemIPGlobalStatistics.cs
- BinaryObjectInfo.cs
- CodeDomConfigurationHandler.cs
- RSAOAEPKeyExchangeDeformatter.cs
- SiteMapNodeItemEventArgs.cs
- LoadedEvent.cs
- NullableConverter.cs
- EncoderBestFitFallback.cs
- TaskHelper.cs
- ObjectManager.cs
- WeakReferenceKey.cs
- Int16AnimationBase.cs
- WebControlsSection.cs
- FlatButtonAppearance.cs
- ContextBase.cs
- ClientRoleProvider.cs
- ConfigXmlText.cs
- ListViewDataItem.cs
- NameValueCollection.cs
- ModulesEntry.cs
- CompiledRegexRunner.cs
- HtmlElementCollection.cs
- InvalidOperationException.cs
- sqlmetadatafactory.cs
- ControlLocalizer.cs
- ClientType.cs
- SspiSafeHandles.cs
- ManagementQuery.cs
- VisualStyleInformation.cs
- FactoryGenerator.cs
- CollectionViewProxy.cs
- Certificate.cs
- ForceCopyBuildProvider.cs
- PaperSource.cs
- ProgressPage.cs
- HwndHost.cs
- SmuggledIUnknown.cs
- RawStylusInputCustomData.cs
- MailSettingsSection.cs
- ClearTypeHintValidation.cs
- DescendantBaseQuery.cs
- WindowsProgressbar.cs
- CompiledQuery.cs
- EditorZone.cs
- ExportOptions.cs
- RectValueSerializer.cs
- DbConnectionInternal.cs
- DispatcherHooks.cs
- XomlCompilerHelpers.cs
- ConstraintCollection.cs
- BooleanAnimationBase.cs
- PathData.cs
- GregorianCalendarHelper.cs
- CacheAxisQuery.cs
- Oid.cs
- ProfileSection.cs
- EventProviderWriter.cs
- DivideByZeroException.cs
- TreeNodeCollectionEditor.cs
- RequestCacheManager.cs
- XhtmlConformanceSection.cs
- Pkcs7Signer.cs