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
- _KerberosClient.cs
- GlyphTypeface.cs
- ExcCanonicalXml.cs
- PropertyChangedEventArgs.cs
- PolyLineSegment.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- DataPointer.cs
- _LoggingObject.cs
- FormView.cs
- UserControlParser.cs
- TransactedBatchContext.cs
- ConfigurationHandlersInstallComponent.cs
- SystemColors.cs
- LogLogRecord.cs
- DefaultTextStoreTextComposition.cs
- TypeConverterHelper.cs
- FrugalMap.cs
- UpDownBase.cs
- _AcceptOverlappedAsyncResult.cs
- UnsafeNetInfoNativeMethods.cs
- Hashtable.cs
- EditingMode.cs
- CustomSignedXml.cs
- ActivityDesignerResources.cs
- FrameworkElementFactory.cs
- AddressHeader.cs
- SerializableAttribute.cs
- Membership.cs
- CodeRemoveEventStatement.cs
- NotifyCollectionChangedEventArgs.cs
- ConvertersCollection.cs
- WebHostedComPlusServiceHost.cs
- GetRecipientRequest.cs
- ProfileModule.cs
- HttpProfileGroupBase.cs
- PageSettings.cs
- UIElement.cs
- PlaceHolder.cs
- NameValuePermission.cs
- WebPartVerb.cs
- FastEncoder.cs
- ExcludePathInfo.cs
- DictionaryGlobals.cs
- AutomationPeer.cs
- CodePageEncoding.cs
- QueryStringHandler.cs
- StorageTypeMapping.cs
- ColumnTypeConverter.cs
- LoginUtil.cs
- DocumentOrderQuery.cs
- OdbcInfoMessageEvent.cs
- DesignerCategoryAttribute.cs
- WindowsSecurityTokenAuthenticator.cs
- XmlSchemaAttributeGroup.cs
- TaskFactory.cs
- SettingsAttributes.cs
- EventSinkHelperWriter.cs
- InputScope.cs
- DateTimeStorage.cs
- LoadedOrUnloadedOperation.cs
- HMACSHA512.cs
- TaiwanCalendar.cs
- WpfKnownMember.cs
- StaticExtension.cs
- AppDomainUnloadedException.cs
- SafeJobHandle.cs
- ChannelProtectionRequirements.cs
- EntityStoreSchemaGenerator.cs
- RemotingConfiguration.cs
- DataTable.cs
- Drawing.cs
- ArgumentOutOfRangeException.cs
- TraceListener.cs
- xmlglyphRunInfo.cs
- RepeatInfo.cs
- EdmSchemaError.cs
- PersistenceTypeAttribute.cs
- ExpressionDumper.cs
- CapacityStreamGeometryContext.cs
- MatrixAnimationUsingKeyFrames.cs
- MultiDataTrigger.cs
- HostingEnvironment.cs
- OdbcTransaction.cs
- RichTextBoxContextMenu.cs
- MessageFormatterConverter.cs
- WebBrowserBase.cs
- OpenCollectionAsyncResult.cs
- SecurityProtocolFactory.cs
- SystemColors.cs
- PrimitiveXmlSerializers.cs
- HttpStreamMessage.cs
- documentation.cs
- FormDesigner.cs
- StaticDataManager.cs
- ExpressionBuilderContext.cs
- LabelAutomationPeer.cs
- WizardForm.cs
- ChildDocumentBlock.cs
- ProgramNode.cs
- IsolatedStorageFile.cs