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
- ContractNamespaceAttribute.cs
- ItemsPresenter.cs
- PerformanceCounterPermissionAttribute.cs
- MergablePropertyAttribute.cs
- ClientConfigPaths.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- Debug.cs
- RenderCapability.cs
- SafeCloseHandleCritical.cs
- TypeListConverter.cs
- ValidationManager.cs
- TextCompositionManager.cs
- SafeSecurityHandles.cs
- InstanceNameConverter.cs
- Int16AnimationBase.cs
- DataControlFieldCell.cs
- Int32Converter.cs
- ActionMismatchAddressingException.cs
- Int32Rect.cs
- TimeSpanValidatorAttribute.cs
- _SslStream.cs
- StrokeFIndices.cs
- SynchronizedRandom.cs
- IssuedTokenServiceCredential.cs
- messageonlyhwndwrapper.cs
- DataReaderContainer.cs
- Rectangle.cs
- Track.cs
- RsaKeyIdentifierClause.cs
- TaskResultSetter.cs
- StorageMappingItemLoader.cs
- ServiceManager.cs
- XmlUtil.cs
- XmlSchemaAttributeGroupRef.cs
- XmlAttributeAttribute.cs
- ImageMetadata.cs
- StorageEntitySetMapping.cs
- ClosableStream.cs
- AutoGeneratedFieldProperties.cs
- CompiledAction.cs
- WebControlAdapter.cs
- ModuleConfigurationInfo.cs
- LayoutInformation.cs
- ApplicationException.cs
- OperationCanceledException.cs
- XmlQueryCardinality.cs
- SubpageParagraph.cs
- ThreadExceptionDialog.cs
- RewritingSimplifier.cs
- ProcessThreadDesigner.cs
- ExpressionBinding.cs
- X509SubjectKeyIdentifierClause.cs
- BindingMemberInfo.cs
- RawStylusInput.cs
- SecurityBindingElementImporter.cs
- InternalDispatchObject.cs
- StorageConditionPropertyMapping.cs
- CodeExpressionCollection.cs
- WorkflowDurableInstance.cs
- FormViewDeleteEventArgs.cs
- QilInvokeEarlyBound.cs
- PreviewPrintController.cs
- ImplicitInputBrush.cs
- XmlReflectionMember.cs
- XmlSignatureManifest.cs
- PnrpPeerResolverBindingElement.cs
- Publisher.cs
- OperatorExpressions.cs
- BitmapMetadataBlob.cs
- LoginCancelEventArgs.cs
- HttpHandlerAction.cs
- ScaleTransform.cs
- FixedSOMTableRow.cs
- WebPartMenuStyle.cs
- ConfigPathUtility.cs
- SkipQueryOptionExpression.cs
- WebResponse.cs
- UIElementHelper.cs
- ListViewDesigner.cs
- UnsafeCollabNativeMethods.cs
- WmlSelectionListAdapter.cs
- DataFormats.cs
- QueryReaderSettings.cs
- _ConnectionGroup.cs
- DbUpdateCommandTree.cs
- recordstate.cs
- TextAnchor.cs
- BlurEffect.cs
- NetworkInterface.cs
- _ListenerAsyncResult.cs
- DataPagerCommandEventArgs.cs
- PassportPrincipal.cs
- RenderDataDrawingContext.cs
- HandleCollector.cs
- IncomingWebResponseContext.cs
- LinqDataSourceEditData.cs
- AppDomainResourcePerfCounters.cs
- Rijndael.cs
- InnerItemCollectionView.cs
- DataContractSerializer.cs