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
- HttpApplicationFactory.cs
- _TransmitFileOverlappedAsyncResult.cs
- TypeExtension.cs
- UInt32Converter.cs
- ReliabilityContractAttribute.cs
- XmlSchemaComplexType.cs
- SchemaInfo.cs
- EmptyControlCollection.cs
- AffineTransform3D.cs
- PeerName.cs
- BinaryWriter.cs
- TemplateNodeContextMenu.cs
- UnsafeNativeMethods.cs
- LOSFormatter.cs
- FamilyTypefaceCollection.cs
- PropertyChangedEventManager.cs
- DynamicActivityProperty.cs
- ChtmlTextWriter.cs
- HttpGetProtocolImporter.cs
- FixedSOMTextRun.cs
- BitmapEncoder.cs
- Types.cs
- OperationCanceledException.cs
- mactripleDES.cs
- PrtTicket_Public_Simple.cs
- Style.cs
- DataStreamFromComStream.cs
- EDesignUtil.cs
- WebSysDefaultValueAttribute.cs
- ItemsControl.cs
- NumberEdit.cs
- ReadOnlyHierarchicalDataSourceView.cs
- ShutDownListener.cs
- PolygonHotSpot.cs
- CommonEndpointBehaviorElement.cs
- DiscoveryDocumentLinksPattern.cs
- RegexTypeEditor.cs
- ServiceParser.cs
- WebPartVerbCollection.cs
- PersonalizationStateInfo.cs
- PrimaryKeyTypeConverter.cs
- AndCondition.cs
- QueryComponents.cs
- DmlSqlGenerator.cs
- LoginDesigner.cs
- HttpRequest.cs
- Boolean.cs
- LoginDesigner.cs
- Misc.cs
- DataGridBoolColumn.cs
- PathFigureCollection.cs
- RowUpdatingEventArgs.cs
- MLangCodePageEncoding.cs
- ServiceModelSecurityTokenRequirement.cs
- SchemaElementDecl.cs
- StreamWriter.cs
- OLEDB_Util.cs
- Pts.cs
- StorageEntityContainerMapping.cs
- UserInitiatedNavigationPermission.cs
- XmlArrayItemAttribute.cs
- WebPartCollection.cs
- WebPartPersonalization.cs
- PaginationProgressEventArgs.cs
- ImageListUtils.cs
- StreamHelper.cs
- ValidatorUtils.cs
- MatrixAnimationUsingKeyFrames.cs
- TableLayoutSettingsTypeConverter.cs
- PathFigure.cs
- ResourceReferenceExpressionConverter.cs
- PartBasedPackageProperties.cs
- EmptyCollection.cs
- BamlBinaryReader.cs
- ScriptHandlerFactory.cs
- BoundColumn.cs
- ExportFileRequest.cs
- MimeBasePart.cs
- XmlSchemaAnyAttribute.cs
- NumberSubstitution.cs
- AddInToken.cs
- Ray3DHitTestResult.cs
- NamespaceEmitter.cs
- XmlSchemaChoice.cs
- EntityFrameworkVersions.cs
- DeclaredTypeValidator.cs
- XAMLParseException.cs
- PrimitiveXmlSerializers.cs
- ForeignKeyConstraint.cs
- DelegateHelpers.Generated.cs
- RSAOAEPKeyExchangeFormatter.cs
- RuleRef.cs
- IndentTextWriter.cs
- FixedSOMLineRanges.cs
- ColumnResizeAdorner.cs
- Matrix.cs
- HtmlInputFile.cs
- WebPartConnectionsConnectVerb.cs
- SqlFunctionAttribute.cs
- X509ChainPolicy.cs