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
- HtmlInputRadioButton.cs
- EdmType.cs
- ObjectParameterCollection.cs
- HttpModuleCollection.cs
- HtmlEncodedRawTextWriter.cs
- GridViewItemAutomationPeer.cs
- ClusterSafeNativeMethods.cs
- arc.cs
- SyndicationSerializer.cs
- ResourceDescriptionAttribute.cs
- ServiceModelEnumValidator.cs
- NotImplementedException.cs
- ComponentManagerBroker.cs
- Light.cs
- SoapWriter.cs
- ItemsPanelTemplate.cs
- ExpandedWrapper.cs
- DefaultProxySection.cs
- StreamSecurityUpgradeProvider.cs
- Size.cs
- SiteMapDataSourceView.cs
- HitTestResult.cs
- TranslateTransform3D.cs
- CapabilitiesPattern.cs
- CookieProtection.cs
- ChangeConflicts.cs
- LayoutManager.cs
- Boolean.cs
- XmlDataImplementation.cs
- CategoryNameCollection.cs
- ItemsControlAutomationPeer.cs
- IfAction.cs
- TextFragmentEngine.cs
- RtfFormatStack.cs
- TTSEvent.cs
- EntityStoreSchemaFilterEntry.cs
- SettingsPropertyNotFoundException.cs
- DataTableReader.cs
- ContextStack.cs
- CellLabel.cs
- TextEvent.cs
- GridView.cs
- ButtonBase.cs
- SafeRightsManagementSessionHandle.cs
- SID.cs
- StartUpEventArgs.cs
- HMACMD5.cs
- SafeNativeMethods.cs
- SkewTransform.cs
- HtmlDocument.cs
- LocatorBase.cs
- WindowsImpersonationContext.cs
- RefreshEventArgs.cs
- Array.cs
- TimelineGroup.cs
- OdbcError.cs
- ScriptServiceAttribute.cs
- MatchingStyle.cs
- TransactionInformation.cs
- TableCellAutomationPeer.cs
- ClientRoleProvider.cs
- InternalControlCollection.cs
- SendDesigner.xaml.cs
- FreeFormPanel.cs
- MarkerProperties.cs
- SqlRowUpdatingEvent.cs
- ParserContext.cs
- SmtpSection.cs
- ProvideValueServiceProvider.cs
- FileInfo.cs
- PropertyItemInternal.cs
- AutomationElementIdentifiers.cs
- DateTime.cs
- HttpCookie.cs
- DesignerForm.cs
- ClearTypeHintValidation.cs
- BmpBitmapDecoder.cs
- DragEventArgs.cs
- EntityDataSourceContainerNameItem.cs
- RootBrowserWindowProxy.cs
- CodeNamespaceImport.cs
- CodeTypeReference.cs
- TypeToken.cs
- SqlNode.cs
- SystemColorTracker.cs
- WinFormsUtils.cs
- BuildProviderInstallComponent.cs
- SuppressMergeCheckAttribute.cs
- StandardBindingElement.cs
- Line.cs
- ManagedFilter.cs
- X509SubjectKeyIdentifierClause.cs
- AccessDataSourceView.cs
- Models.cs
- RegisteredArrayDeclaration.cs
- PartialCachingAttribute.cs
- WebPartDisplayModeCancelEventArgs.cs
- SqlEnums.cs
- PackWebResponse.cs
- NodeFunctions.cs