Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Web / System / Web / Services / Protocols / SoapClientMessage.cs / 1305376 / SoapClientMessage.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.Services.Protocols {
using System.Web.Services;
using System.Xml.Serialization;
using System;
using System.Reflection;
using System.Collections;
using System.IO;
using System.ComponentModel;
using System.Runtime.InteropServices;
///
///
/// [To be supplied.]
///
public sealed class SoapClientMessage : SoapMessage {
SoapClientMethod method;
SoapHttpClientProtocol protocol;
string url;
internal SoapExtension[] initializedExtensions;
internal SoapClientMessage(SoapHttpClientProtocol protocol, SoapClientMethod method, string url) {
this.method = method;
this.protocol = protocol;
this.url = url;
}
/*
internal override bool IsInitialized {
get { return true; }
}
*/
///
///
/// [To be supplied.]
///
public override bool OneWay {
get { return method.oneWay; }
}
///
///
/// [To be supplied.]
///
public SoapHttpClientProtocol Client {
get { return protocol; }
}
///
///
/// [To be supplied.]
///
public override LogicalMethodInfo MethodInfo {
get { return method.methodInfo; }
}
/*
internal override SoapReflectedExtension[] Extensions {
get { return method.extensions; }
}
internal override object[] ExtensionInitializers {
get { return method.extensionInitializers; }
}
*/
///
///
/// [To be supplied.]
///
public override string Url {
get { return url; }
}
///
///
/// [To be supplied.]
///
public override string Action {
get { return method.action; }
}
///
[ComVisible(false)]
public override SoapProtocolVersion SoapVersion {
get { return protocol.SoapVersion == SoapProtocolVersion.Default ? SoapProtocolVersion.Soap11 : protocol.SoapVersion; }
}
internal SoapClientMethod Method {
get { return method; }
}
///
///
/// [To be supplied.]
///
protected override void EnsureOutStage() {
EnsureStage(SoapMessageStage.AfterDeserialize);
}
///
///
/// [To be supplied.]
///
protected override void EnsureInStage(){
EnsureStage(SoapMessageStage.BeforeSerialize);
}
}
}
// 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
- ServiceModelActivity.cs
- WebResourceAttribute.cs
- DeleteHelper.cs
- PrimitiveType.cs
- DataFieldConverter.cs
- LogRecordSequence.cs
- BmpBitmapDecoder.cs
- PolyLineSegmentFigureLogic.cs
- UnmanagedBitmapWrapper.cs
- SettingsBindableAttribute.cs
- ContentTextAutomationPeer.cs
- XmlCharCheckingReader.cs
- ScalarOps.cs
- PackagePart.cs
- MemberJoinTreeNode.cs
- UrlEncodedParameterWriter.cs
- SplashScreen.cs
- SessionEndingCancelEventArgs.cs
- ZipIORawDataFileBlock.cs
- WebPartMenuStyle.cs
- PerspectiveCamera.cs
- PageFunction.cs
- OSFeature.cs
- Utility.cs
- Constant.cs
- MimeMapping.cs
- SecurityManager.cs
- ContentType.cs
- Int32CollectionValueSerializer.cs
- IsolatedStorageFileStream.cs
- TransportSecurityProtocolFactory.cs
- Point3DCollectionValueSerializer.cs
- NeutralResourcesLanguageAttribute.cs
- ExtensionSurface.cs
- ProjectionPath.cs
- InstancePersistenceCommandException.cs
- FontDifferentiator.cs
- FrameAutomationPeer.cs
- SurrogateSelector.cs
- SuppressMessageAttribute.cs
- SqlClientFactory.cs
- DataControlFieldHeaderCell.cs
- DataGridRow.cs
- SiteMapDataSourceView.cs
- StringExpressionSet.cs
- ProtocolsConfigurationEntry.cs
- CodeAttributeArgument.cs
- DiscoveryDocumentLinksPattern.cs
- EntityDataSourceChangedEventArgs.cs
- DataKey.cs
- JpegBitmapEncoder.cs
- ProcessProtocolHandler.cs
- ClientConfigurationHost.cs
- _UriSyntax.cs
- ManipulationDevice.cs
- GetPageNumberCompletedEventArgs.cs
- SQLMoney.cs
- AttributeQuery.cs
- TrackingRecord.cs
- Socket.cs
- CustomLineCap.cs
- ParameterReplacerVisitor.cs
- WebHttpSecurityModeHelper.cs
- QueryContinueDragEvent.cs
- CaretElement.cs
- XmlSchemaAppInfo.cs
- SortDescription.cs
- MutexSecurity.cs
- ObjectItemCollection.cs
- BitmapEffectvisualstate.cs
- ProviderSettings.cs
- TypeSystem.cs
- TraceSection.cs
- DesignerForm.cs
- SocketPermission.cs
- ClientTargetCollection.cs
- HtmlElementErrorEventArgs.cs
- EntityCollection.cs
- AttachmentService.cs
- DesignConnection.cs
- DelegatedStream.cs
- PrintPageEvent.cs
- LogArchiveSnapshot.cs
- _ListenerResponseStream.cs
- InfoCardHelper.cs
- DataRowChangeEvent.cs
- DbProviderFactory.cs
- DropSource.cs
- BadImageFormatException.cs
- PromptStyle.cs
- CompiledXpathExpr.cs
- TileBrush.cs
- WebBrowserProgressChangedEventHandler.cs
- MembershipSection.cs
- HttpListenerElement.cs
- RecommendedAsConfigurableAttribute.cs
- MasterPage.cs
- CaseDesigner.xaml.cs
- ListItemsCollectionEditor.cs
- XhtmlTextWriter.cs