Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Web / System / Web / Services / Protocols / SoapFaultCodes.cs / 1305376 / SoapFaultCodes.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Services.Protocols { using System; using System.Collections; using System.Reflection; using System.Xml; using System.Xml.Serialization; ///public sealed class Soap12FaultCodes { private Soap12FaultCodes() { } /// public static readonly XmlQualifiedName ReceiverFaultCode = new XmlQualifiedName(Soap12.Code.Receiver, Soap12.Namespace); /// public static readonly XmlQualifiedName SenderFaultCode = new XmlQualifiedName(Soap12.Code.Sender, Soap12.Namespace); /// public static readonly XmlQualifiedName VersionMismatchFaultCode = new XmlQualifiedName(Soap12.Code.VersionMismatch, Soap12.Namespace); /// public static readonly XmlQualifiedName MustUnderstandFaultCode = new XmlQualifiedName(Soap12.Code.MustUnderstand, Soap12.Namespace); /// public static readonly XmlQualifiedName DataEncodingUnknownFaultCode = new XmlQualifiedName(Soap12.Code.DataEncodingUnknown, Soap12.Namespace); /// public static readonly XmlQualifiedName RpcProcedureNotPresentFaultCode = new XmlQualifiedName(Soap12.Code.RpcProcedureNotPresentSubcode, Soap12.RpcNamespace); /// public static readonly XmlQualifiedName RpcBadArgumentsFaultCode = new XmlQualifiedName(Soap12.Code.RpcBadArgumentsSubcode, Soap12.RpcNamespace); /// public static readonly XmlQualifiedName EncodingMissingIdFaultCode = new XmlQualifiedName(Soap12.Code.EncodingMissingIDFaultSubcode, Soap12.Encoding); /// public static readonly XmlQualifiedName EncodingUntypedValueFaultCode = new XmlQualifiedName(Soap12.Code.EncodingUntypedValueFaultSubcode, Soap12.Encoding); internal static readonly XmlQualifiedName UnsupportedMediaTypeFaultCode = new XmlQualifiedName("UnsupportedMediaType", "http://microsoft.com/soap/"); internal static readonly XmlQualifiedName MethodNotAllowed = new XmlQualifiedName("MethodNotAllowed", "http://microsoft.com/soap/"); } /// [Serializable] public class SoapFaultSubCode { XmlQualifiedName code; SoapFaultSubCode subCode; /// public SoapFaultSubCode(XmlQualifiedName code) : this(code, null) { } /// public SoapFaultSubCode(XmlQualifiedName code, SoapFaultSubCode subCode) { this.code = code; this.subCode = subCode; } /// public XmlQualifiedName Code { get { return code; } } /// public SoapFaultSubCode SubCode { get { return subCode; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Services.Protocols { using System; using System.Collections; using System.Reflection; using System.Xml; using System.Xml.Serialization; ///public sealed class Soap12FaultCodes { private Soap12FaultCodes() { } /// public static readonly XmlQualifiedName ReceiverFaultCode = new XmlQualifiedName(Soap12.Code.Receiver, Soap12.Namespace); /// public static readonly XmlQualifiedName SenderFaultCode = new XmlQualifiedName(Soap12.Code.Sender, Soap12.Namespace); /// public static readonly XmlQualifiedName VersionMismatchFaultCode = new XmlQualifiedName(Soap12.Code.VersionMismatch, Soap12.Namespace); /// public static readonly XmlQualifiedName MustUnderstandFaultCode = new XmlQualifiedName(Soap12.Code.MustUnderstand, Soap12.Namespace); /// public static readonly XmlQualifiedName DataEncodingUnknownFaultCode = new XmlQualifiedName(Soap12.Code.DataEncodingUnknown, Soap12.Namespace); /// public static readonly XmlQualifiedName RpcProcedureNotPresentFaultCode = new XmlQualifiedName(Soap12.Code.RpcProcedureNotPresentSubcode, Soap12.RpcNamespace); /// public static readonly XmlQualifiedName RpcBadArgumentsFaultCode = new XmlQualifiedName(Soap12.Code.RpcBadArgumentsSubcode, Soap12.RpcNamespace); /// public static readonly XmlQualifiedName EncodingMissingIdFaultCode = new XmlQualifiedName(Soap12.Code.EncodingMissingIDFaultSubcode, Soap12.Encoding); /// public static readonly XmlQualifiedName EncodingUntypedValueFaultCode = new XmlQualifiedName(Soap12.Code.EncodingUntypedValueFaultSubcode, Soap12.Encoding); internal static readonly XmlQualifiedName UnsupportedMediaTypeFaultCode = new XmlQualifiedName("UnsupportedMediaType", "http://microsoft.com/soap/"); internal static readonly XmlQualifiedName MethodNotAllowed = new XmlQualifiedName("MethodNotAllowed", "http://microsoft.com/soap/"); } /// [Serializable] public class SoapFaultSubCode { XmlQualifiedName code; SoapFaultSubCode subCode; /// public SoapFaultSubCode(XmlQualifiedName code) : this(code, null) { } /// public SoapFaultSubCode(XmlQualifiedName code, SoapFaultSubCode subCode) { this.code = code; this.subCode = subCode; } /// public XmlQualifiedName Code { get { return code; } } /// public SoapFaultSubCode SubCode { get { return subCode; } } } } // 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
- WindowsStartMenu.cs
- CheckBoxField.cs
- HelpInfo.cs
- ObjectAnimationBase.cs
- ScriptManagerProxy.cs
- FontCacheLogic.cs
- FontSource.cs
- FillErrorEventArgs.cs
- ProcessProtocolHandler.cs
- WebBrowserPermission.cs
- GlyphTypeface.cs
- AdapterUtil.cs
- ApplicationServicesHostFactory.cs
- WindowsGraphicsCacheManager.cs
- TextAnchor.cs
- DesignerActionListCollection.cs
- WinEventQueueItem.cs
- WebPartManager.cs
- IssuanceLicense.cs
- BamlRecordHelper.cs
- PeerCustomResolverSettings.cs
- PassportAuthenticationModule.cs
- AppDomainFactory.cs
- Tile.cs
- DataColumn.cs
- XmlAttributes.cs
- ImportOptions.cs
- JournalEntryListConverter.cs
- StylusSystemGestureEventArgs.cs
- AspNetCacheProfileAttribute.cs
- ConfigXmlElement.cs
- CellIdBoolean.cs
- CloseSequenceResponse.cs
- XmlSchemaGroup.cs
- ToolStripDesignerAvailabilityAttribute.cs
- XmlTextWriter.cs
- CategoryAttribute.cs
- AlphaSortedEnumConverter.cs
- StyleReferenceConverter.cs
- ChannelManager.cs
- SqlFactory.cs
- ApplicationException.cs
- BamlLocalizableResource.cs
- NullableDoubleAverageAggregationOperator.cs
- DataGridViewRowsRemovedEventArgs.cs
- SQLCharsStorage.cs
- SchemaElementLookUpTable.cs
- WebConfigurationManager.cs
- StrokeFIndices.cs
- ToolStripDesignerUtils.cs
- DoubleAnimationClockResource.cs
- TreeNodeCollection.cs
- CatalogPartChrome.cs
- RoleGroup.cs
- SHA512Managed.cs
- MessageQueuePermissionEntryCollection.cs
- Executor.cs
- InputGestureCollection.cs
- DataTableExtensions.cs
- WebPartPersonalization.cs
- SqlAliasesReferenced.cs
- CodeMemberProperty.cs
- GeometryCombineModeValidation.cs
- Visual.cs
- Lasso.cs
- processwaithandle.cs
- SoapFault.cs
- CodeDomConfigurationHandler.cs
- UnionExpr.cs
- FrameworkReadOnlyPropertyMetadata.cs
- BooleanStorage.cs
- ToolStripPanelRow.cs
- _KerberosClient.cs
- XmlSchemaException.cs
- ProvidersHelper.cs
- CellLabel.cs
- FilteredDataSetHelper.cs
- TextSimpleMarkerProperties.cs
- BrowserCapabilitiesFactory.cs
- Speller.cs
- NameTable.cs
- Baml2006ReaderSettings.cs
- SafeEventLogWriteHandle.cs
- CrossSiteScriptingValidation.cs
- UrlParameterWriter.cs
- ZipIOExtraFieldElement.cs
- ScaleTransform3D.cs
- InvokePatternIdentifiers.cs
- CodeCompileUnit.cs
- UniformGrid.cs
- FrameworkElementFactoryMarkupObject.cs
- QuaternionKeyFrameCollection.cs
- unsafeIndexingFilterStream.cs
- AsyncCompletedEventArgs.cs
- WindowsGraphics.cs
- HttpModuleCollection.cs
- XamlBrushSerializer.cs
- ColorConverter.cs
- BamlResourceSerializer.cs
- UIAgentAsyncEndRequest.cs