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
- HtmlInputImage.cs
- Container.cs
- WebPartDescriptionCollection.cs
- RawUIStateInputReport.cs
- Link.cs
- ReflectEventDescriptor.cs
- DesignerPainter.cs
- SqlDataSourceCache.cs
- LayoutEditorPart.cs
- ConnectionPointCookie.cs
- OrderedDictionary.cs
- BuildProviderUtils.cs
- SolidColorBrush.cs
- Thread.cs
- HasCopySemanticsAttribute.cs
- WebPart.cs
- TreeChangeInfo.cs
- ParserContext.cs
- XmlSchemaAttributeGroup.cs
- ReturnEventArgs.cs
- WpfKnownType.cs
- UniqueEventHelper.cs
- processwaithandle.cs
- SqlDataSourceView.cs
- COM2IDispatchConverter.cs
- TextRunTypographyProperties.cs
- ClassicBorderDecorator.cs
- WSTrust.cs
- UnrecognizedPolicyAssertionElement.cs
- OdbcEnvironmentHandle.cs
- DataSetSchema.cs
- InvokeHandlers.cs
- ReflectionHelper.cs
- PartBasedPackageProperties.cs
- ActivitySurrogate.cs
- BadImageFormatException.cs
- ForwardPositionQuery.cs
- HtmlTableRowCollection.cs
- InvocationExpression.cs
- ClientUrlResolverWrapper.cs
- ToolStripGripRenderEventArgs.cs
- NativeRecognizer.cs
- TemplatedAdorner.cs
- TimeSpanValidatorAttribute.cs
- RectIndependentAnimationStorage.cs
- PaperSize.cs
- HwndStylusInputProvider.cs
- Symbol.cs
- CommonDialog.cs
- BindingValueChangedEventArgs.cs
- CategoryNameCollection.cs
- ReadOnlyObservableCollection.cs
- XmlCustomFormatter.cs
- MimeXmlImporter.cs
- FigureParagraph.cs
- GeometryValueSerializer.cs
- SqlConnectionFactory.cs
- AudioFileOut.cs
- BaseTemplateParser.cs
- MultiAsyncResult.cs
- KeyValueSerializer.cs
- TextEffectCollection.cs
- IDispatchConstantAttribute.cs
- DispatcherProcessingDisabled.cs
- RuleRefElement.cs
- DSASignatureFormatter.cs
- XmlParser.cs
- StateWorkerRequest.cs
- SubMenuStyle.cs
- DeleteCardRequest.cs
- MultipartIdentifier.cs
- OpCodes.cs
- CreateUserWizardAutoFormat.cs
- DefaultProxySection.cs
- ProxyWebPartManager.cs
- AnnotationResourceChangedEventArgs.cs
- RuntimeResourceSet.cs
- TdsParserSessionPool.cs
- SchemaMerger.cs
- HttpResponseInternalBase.cs
- Int64Storage.cs
- StdRegProviderWrapper.cs
- RelatedCurrencyManager.cs
- ColorAnimationUsingKeyFrames.cs
- Properties.cs
- CFStream.cs
- ListViewDataItem.cs
- TaskDesigner.cs
- ipaddressinformationcollection.cs
- SchemaLookupTable.cs
- EventRoute.cs
- XmlArrayItemAttributes.cs
- RegexBoyerMoore.cs
- ElapsedEventArgs.cs
- AnchoredBlock.cs
- RecognizedPhrase.cs
- ToolStripManager.cs
- ProtectedConfigurationProviderCollection.cs
- Literal.cs
- EndPoint.cs