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
- DesignerCategoryAttribute.cs
- CompilationRelaxations.cs
- Inline.cs
- DrawingImage.cs
- SafeArrayRankMismatchException.cs
- ConnectionPointCookie.cs
- assertwrapper.cs
- OleDbWrapper.cs
- ServiceCredentials.cs
- MemberCollection.cs
- sqlpipe.cs
- ConfigurationCollectionAttribute.cs
- BuiltInExpr.cs
- MouseActionValueSerializer.cs
- ValidatedMobileControlConverter.cs
- WindowsListViewGroupHelper.cs
- Utilities.cs
- Splitter.cs
- _BufferOffsetSize.cs
- CapabilitiesState.cs
- OutputCacheSettings.cs
- CodeAttachEventStatement.cs
- RequestFactory.cs
- FontStyleConverter.cs
- WebPartHelpVerb.cs
- TemplatePagerField.cs
- ListBindableAttribute.cs
- SortAction.cs
- TargetException.cs
- AutomationElement.cs
- MeshGeometry3D.cs
- UnsafeNativeMethods.cs
- ExtentCqlBlock.cs
- FilterQuery.cs
- x509utils.cs
- AbandonedMutexException.cs
- RowToParametersTransformer.cs
- TCEAdapterGenerator.cs
- SiteMapPath.cs
- ListViewPagedDataSource.cs
- LinqDataSourceValidationException.cs
- NonBatchDirectoryCompiler.cs
- SafePointer.cs
- ScriptServiceAttribute.cs
- BitHelper.cs
- BasicHttpBindingElement.cs
- SafeNativeMemoryHandle.cs
- PerformanceCounterLib.cs
- GlobalizationAssembly.cs
- InternalException.cs
- ObjectItemAttributeAssemblyLoader.cs
- PreloadedPackages.cs
- QueryableDataSourceView.cs
- StrokeCollection.cs
- DefaultTraceListener.cs
- SecurityTokenAuthenticator.cs
- TreeWalker.cs
- SystemGatewayIPAddressInformation.cs
- BitmapPalettes.cs
- RemotingHelper.cs
- PerformanceCounterCategory.cs
- VSWCFServiceContractGenerator.cs
- arabicshape.cs
- AssemblyAttributes.cs
- DataGridViewRowPostPaintEventArgs.cs
- ObjRef.cs
- ColorInterpolationModeValidation.cs
- TextAutomationPeer.cs
- ToolStripGripRenderEventArgs.cs
- JsonFormatGeneratorStatics.cs
- XamlWrappingReader.cs
- TriggerCollection.cs
- DataSourceHelper.cs
- ZoneButton.cs
- ScrollViewer.cs
- ObjectComplexPropertyMapping.cs
- XmlNullResolver.cs
- securitymgrsite.cs
- OdbcRowUpdatingEvent.cs
- XslTransform.cs
- Encoder.cs
- FontNameConverter.cs
- SmiEventSink_DeferedProcessing.cs
- ListViewTableRow.cs
- TreeNodeSelectionProcessor.cs
- ListViewEditEventArgs.cs
- EventWaitHandle.cs
- XmlSchemaAttributeGroupRef.cs
- COAUTHINFO.cs
- Marshal.cs
- DataGridHeaderBorder.cs
- Baml6Assembly.cs
- SurrogateSelector.cs
- CodeArrayCreateExpression.cs
- DiscoveryClientProtocol.cs
- StorageAssociationTypeMapping.cs
- GridItemPatternIdentifiers.cs
- UriTemplateHelpers.cs
- WorkflowMessageEventArgs.cs
- WindowVisualStateTracker.cs