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
- MemberRestriction.cs
- PageAsyncTask.cs
- ItemCheckEvent.cs
- XmlAutoDetectWriter.cs
- FormsAuthenticationModule.cs
- PriorityItem.cs
- MatchAttribute.cs
- Scheduler.cs
- SafeSecurityHandles.cs
- AppDomainFactory.cs
- GrammarBuilderRuleRef.cs
- CompressionTracing.cs
- HtmlForm.cs
- CopyNodeSetAction.cs
- DebuggerAttributes.cs
- CoreChannel.cs
- UrlAuthFailedErrorFormatter.cs
- XmlEntityReference.cs
- SpellerHighlightLayer.cs
- DocumentPaginator.cs
- TransformerTypeCollection.cs
- ToReply.cs
- WebReferenceCollection.cs
- DataReceivedEventArgs.cs
- RMPermissions.cs
- CancellableEnumerable.cs
- ProfileParameter.cs
- NativeMethods.cs
- WebHostUnsafeNativeMethods.cs
- mongolianshape.cs
- ThemeInfoAttribute.cs
- AnnotationComponentManager.cs
- ObjectQuery.cs
- SHA384.cs
- InputProcessorProfilesLoader.cs
- CompositionTarget.cs
- TextEndOfSegment.cs
- FontUnitConverter.cs
- XsdDuration.cs
- FormViewCommandEventArgs.cs
- ResourcesBuildProvider.cs
- XMLDiffLoader.cs
- PrintDocument.cs
- UInt16Converter.cs
- AssemblyAttributesGoHere.cs
- XsltLoader.cs
- PageWrapper.cs
- XmlSchemaSimpleTypeUnion.cs
- ReceiveDesigner.xaml.cs
- DataGridAddNewRow.cs
- DataTable.cs
- FieldToken.cs
- FunctionImportMapping.cs
- VirtualPathUtility.cs
- InheritanceContextChangedEventManager.cs
- ApplicationSecurityInfo.cs
- SHA512.cs
- MethodExpr.cs
- MultiTouchSystemGestureLogic.cs
- ByteKeyFrameCollection.cs
- ListViewDataItem.cs
- AutoCompleteStringCollection.cs
- CachedBitmap.cs
- DataGridViewToolTip.cs
- ViewStateModeByIdAttribute.cs
- OleDbTransaction.cs
- DirtyTextRange.cs
- XmlSchemaChoice.cs
- ProfileService.cs
- EdmFunction.cs
- OleDbPermission.cs
- SafeHandle.cs
- GraphicsPathIterator.cs
- ObjectTag.cs
- DataGridTextBoxColumn.cs
- Polyline.cs
- SQLSingleStorage.cs
- BaseCAMarshaler.cs
- UnsafeNativeMethodsMilCoreApi.cs
- EditBehavior.cs
- Binding.cs
- QilPatternVisitor.cs
- Screen.cs
- HostSecurityManager.cs
- Soap.cs
- ImplicitInputBrush.cs
- BufferedGraphicsContext.cs
- PathFigureCollectionConverter.cs
- TableHeaderCell.cs
- Constraint.cs
- shaperfactoryquerycacheentry.cs
- ConfigurationProviderException.cs
- GenericIdentity.cs
- CodeMemberEvent.cs
- FtpWebResponse.cs
- TabControl.cs
- CellTreeNodeVisitors.cs
- TextDecoration.cs
- RedistVersionInfo.cs
- ToolBarPanel.cs