Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / infocard / Client / System / IdentityModel / Selectors / InternalUserCancelledException.cs / 1305376 / InternalUserCancelledException.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace Microsoft.InfoCards { using System; using System.Runtime.Serialization; using Microsoft.InfoCards.Diagnostics; // // This exception indicates that the user has explicitly chosen to cancel // the ongoing request. // internal class UserCancelledException : InfoCardBaseException { // // This the code that this exception translates into. // const int HRESULT = (int)EventCode.E_ICARD_USERCANCELLED; public UserCancelledException() : base( HRESULT ) { } public UserCancelledException( string message ) :base( HRESULT, message ) { } public UserCancelledException( string message, Exception inner ) : base( HRESULT, message, inner ) { } protected UserCancelledException( SerializationInfo si, StreamingContext sc ) : base( HRESULT, si, sc ) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace Microsoft.InfoCards { using System; using System.Runtime.Serialization; using Microsoft.InfoCards.Diagnostics; // // This exception indicates that the user has explicitly chosen to cancel // the ongoing request. // internal class UserCancelledException : InfoCardBaseException { // // This the code that this exception translates into. // const int HRESULT = (int)EventCode.E_ICARD_USERCANCELLED; public UserCancelledException() : base( HRESULT ) { } public UserCancelledException( string message ) :base( HRESULT, message ) { } public UserCancelledException( string message, Exception inner ) : base( HRESULT, message, inner ) { } protected UserCancelledException( SerializationInfo si, StreamingContext sc ) : base( HRESULT, si, sc ) { } } } // 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
- JournalEntryListConverter.cs
- TraceSection.cs
- ImmComposition.cs
- DoubleMinMaxAggregationOperator.cs
- UndoManager.cs
- CompilerErrorCollection.cs
- SspiSecurityTokenParameters.cs
- SecureUICommand.cs
- WebPartHeaderCloseVerb.cs
- RevocationPoint.cs
- VectorValueSerializer.cs
- _NetRes.cs
- Utils.cs
- LockedActivityGlyph.cs
- DragStartedEventArgs.cs
- SqlDataSourceView.cs
- DescendantQuery.cs
- EventRouteFactory.cs
- bindurihelper.cs
- FixedDocument.cs
- AsymmetricKeyExchangeFormatter.cs
- WebServiceTypeData.cs
- ConnectionStringsExpressionBuilder.cs
- Thickness.cs
- TcpClientCredentialType.cs
- ContourSegment.cs
- TreeViewItemAutomationPeer.cs
- SourceItem.cs
- XamlBrushSerializer.cs
- TableHeaderCell.cs
- DataRowExtensions.cs
- OptimizerPatterns.cs
- XmlCharCheckingReader.cs
- TwoPhaseCommit.cs
- HostedController.cs
- QuaternionAnimationBase.cs
- CodeCatchClause.cs
- KeyboardEventArgs.cs
- InputProcessorProfiles.cs
- FormatException.cs
- SoapFormatter.cs
- TTSEngineProxy.cs
- XsltFunctions.cs
- _AutoWebProxyScriptHelper.cs
- PropertyDescriptorCollection.cs
- ConvertTextFrag.cs
- SoapAttributeAttribute.cs
- DateTimeSerializationSection.cs
- TextContainerChangedEventArgs.cs
- MessageQueueException.cs
- FocusManager.cs
- GroupItemAutomationPeer.cs
- DynamicRenderer.cs
- ContainerAction.cs
- BrowserCapabilitiesCodeGenerator.cs
- QuaternionIndependentAnimationStorage.cs
- AutoResetEvent.cs
- Message.cs
- CodeTypeReferenceSerializer.cs
- TypeConverterMarkupExtension.cs
- ToolboxDataAttribute.cs
- InstanceDataCollection.cs
- ClickablePoint.cs
- recordstatescratchpad.cs
- StrongNameIdentityPermission.cs
- ReflectEventDescriptor.cs
- RootBrowserWindowProxy.cs
- SizeAnimationUsingKeyFrames.cs
- TextBlock.cs
- UshortList2.cs
- CalendarDayButton.cs
- storepermission.cs
- Error.cs
- Roles.cs
- SeekStoryboard.cs
- KnownAssemblyEntry.cs
- TableSectionStyle.cs
- DataPagerFieldCollection.cs
- NumericUpDownAcceleration.cs
- ComponentSerializationService.cs
- PropertyStore.cs
- xdrvalidator.cs
- PerformanceCounterLib.cs
- UnorderedHashRepartitionStream.cs
- SymbolUsageManager.cs
- ResXResourceSet.cs
- DataFieldEditor.cs
- DesignerVerb.cs
- RepeatBehavior.cs
- HttpApplication.cs
- JoinTreeNode.cs
- SettingsSavedEventArgs.cs
- SoapClientProtocol.cs
- MasterPage.cs
- DefaultProxySection.cs
- BooleanStorage.cs
- RegexBoyerMoore.cs
- IImplicitResourceProvider.cs
- RepeatBehavior.cs
- XmlSiteMapProvider.cs