Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / ActionNotSupportedException.cs / 1 / ActionNotSupportedException.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel { using System; using System.Runtime.Serialization; using System.ServiceModel.Channels; [Serializable] public class ActionNotSupportedException : CommunicationException { public ActionNotSupportedException() { } public ActionNotSupportedException(string message) : base(message) {} public ActionNotSupportedException(string message, Exception innerException) : base(message, innerException) { } protected ActionNotSupportedException(SerializationInfo info, StreamingContext context) : base(info, context) { } internal Message ProvideFault(MessageVersion messageVersion) { DiagnosticUtility.DebugAssert(messageVersion.Addressing != AddressingVersion.None, ""); FaultCode code = FaultCode.CreateSenderFaultCode(AddressingStrings.ActionNotSupported, messageVersion.Addressing.Namespace); string reason = this.Message; return System.ServiceModel.Channels.Message.CreateMessage( messageVersion, code, reason, messageVersion.Addressing.FaultAction); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PaperSize.cs
- JoinSymbol.cs
- Timer.cs
- ProfileParameter.cs
- CompilerErrorCollection.cs
- FunctionCommandText.cs
- ValidatorCollection.cs
- CodeDOMProvider.cs
- JournalEntryStack.cs
- BStrWrapper.cs
- ReadOnlyCollectionBase.cs
- DialogResultConverter.cs
- TextCollapsingProperties.cs
- StopStoryboard.cs
- DataTableReader.cs
- SafeHandles.cs
- DelegatingMessage.cs
- elementinformation.cs
- Pts.cs
- StickyNoteHelper.cs
- CompiledXpathExpr.cs
- LinkedResourceCollection.cs
- DocumentReference.cs
- WebServicesSection.cs
- OperatingSystemVersionCheck.cs
- AvtEvent.cs
- FileSystemInfo.cs
- WorkflowValidationFailedException.cs
- Preprocessor.cs
- RadioButtonRenderer.cs
- MatchingStyle.cs
- SqlCacheDependencyDatabaseCollection.cs
- GPRECTF.cs
- Stopwatch.cs
- HandlerWithFactory.cs
- GreenMethods.cs
- DesignerDataSourceView.cs
- IncrementalCompileAnalyzer.cs
- ResXDataNode.cs
- xamlnodes.cs
- GeneralTransform3DCollection.cs
- Group.cs
- TableLayoutSettings.cs
- WindowPatternIdentifiers.cs
- IsolatedStoragePermission.cs
- DivideByZeroException.cs
- RotateTransform3D.cs
- PeerToPeerException.cs
- ConnectionConsumerAttribute.cs
- PopupControlService.cs
- QueryMatcher.cs
- DecimalAnimation.cs
- _Rfc2616CacheValidators.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- RegexCapture.cs
- TemplateControl.cs
- ExclusiveHandleList.cs
- Addressing.cs
- EpmSourcePathSegment.cs
- AlphabetConverter.cs
- WebPartDisplayMode.cs
- Stack.cs
- Version.cs
- HTMLTextWriter.cs
- ButtonFlatAdapter.cs
- PerformanceCounterCategory.cs
- XmlDocument.cs
- StructuralType.cs
- Version.cs
- ManagementObjectSearcher.cs
- PropertyPushdownHelper.cs
- ReliabilityContractAttribute.cs
- BindMarkupExtensionSerializer.cs
- XmlSchemaInfo.cs
- Control.cs
- MultiBinding.cs
- PrintPreviewControl.cs
- WsdlHelpGeneratorElement.cs
- KeyNotFoundException.cs
- DateTimeFormat.cs
- CodeMethodMap.cs
- Columns.cs
- LinqDataSourceUpdateEventArgs.cs
- PopupEventArgs.cs
- XmlBoundElement.cs
- QueryOpeningEnumerator.cs
- DrawingCollection.cs
- RegexGroupCollection.cs
- ExpressionBindingCollection.cs
- AcceptorSessionSymmetricTransportSecurityProtocol.cs
- FontNamesConverter.cs
- InheritanceAttribute.cs
- ObjectQueryExecutionPlan.cs
- CheckBoxFlatAdapter.cs
- ModifiableIteratorCollection.cs
- OdbcCommand.cs
- IImplicitResourceProvider.cs
- ResourcesBuildProvider.cs
- _SslState.cs
- ObjectSpanRewriter.cs