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
- AffineTransform3D.cs
- Comparer.cs
- AuthenticationService.cs
- SHA384Cng.cs
- XmlSchemaAny.cs
- ValueUnavailableException.cs
- TargetInvocationException.cs
- PrincipalPermission.cs
- CryptoApi.cs
- SynchronizationContext.cs
- DataGridViewComboBoxEditingControl.cs
- TypeConverterHelper.cs
- documentsequencetextview.cs
- MdiWindowListItemConverter.cs
- HttpCachePolicy.cs
- EventSinkActivityDesigner.cs
- OneWayChannelFactory.cs
- Latin1Encoding.cs
- QilXmlReader.cs
- RequiredAttributeAttribute.cs
- EnumType.cs
- DateTimeConverter.cs
- LeaseManager.cs
- CollectionBuilder.cs
- SelectQueryOperator.cs
- RangeValidator.cs
- GraphicsState.cs
- FileUpload.cs
- FocusManager.cs
- InstanceKey.cs
- TextPointerBase.cs
- Soap.cs
- CodeExpressionCollection.cs
- RectangleGeometry.cs
- IsolatedStorageFilePermission.cs
- HuffmanTree.cs
- XmlAttributeProperties.cs
- PaperSize.cs
- CorrelationResolver.cs
- TextDecorationCollection.cs
- WindowsTitleBar.cs
- CodeGenerator.cs
- SessionParameter.cs
- ProtocolsConfigurationEntry.cs
- DesignerActionGlyph.cs
- infer.cs
- XhtmlConformanceSection.cs
- CalculatedColumn.cs
- TextBox.cs
- BindStream.cs
- ResponseBodyWriter.cs
- ScrollItemPatternIdentifiers.cs
- SplashScreenNativeMethods.cs
- GridItem.cs
- TileModeValidation.cs
- filewebresponse.cs
- EllipseGeometry.cs
- ScrollableControl.cs
- ContentPlaceHolder.cs
- Menu.cs
- webclient.cs
- AsyncPostBackErrorEventArgs.cs
- ConvertersCollection.cs
- CommandEventArgs.cs
- ScriptHandlerFactory.cs
- RepeaterItemEventArgs.cs
- NameTable.cs
- WpfGeneratedKnownTypes.cs
- ActivatedMessageQueue.cs
- Point3DConverter.cs
- EncryptedPackageFilter.cs
- CacheOutputQuery.cs
- WebSysDefaultValueAttribute.cs
- COM2ICategorizePropertiesHandler.cs
- CustomErrorCollection.cs
- WinFormsUtils.cs
- Journal.cs
- AlignmentXValidation.cs
- DesignTimeData.cs
- WebPartCatalogCloseVerb.cs
- CancellationScope.cs
- ContentFilePart.cs
- ProfessionalColorTable.cs
- HostedTransportConfigurationBase.cs
- configsystem.cs
- FloaterParagraph.cs
- NestedContainer.cs
- DbConnectionPoolOptions.cs
- XpsDigitalSignature.cs
- DbgUtil.cs
- TrackingStringDictionary.cs
- PropertyValueUIItem.cs
- CfgSemanticTag.cs
- Container.cs
- hwndwrapper.cs
- UserCancellationException.cs
- XmlDataSource.cs
- ObjectHelper.cs
- AmbientProperties.cs
- UnorderedHashRepartitionStream.cs