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
- XPathNode.cs
- DataStorage.cs
- SqlUserDefinedTypeAttribute.cs
- ReadOnlyObservableCollection.cs
- InternalBufferOverflowException.cs
- Int16Storage.cs
- CompilationUnit.cs
- GenericEnumConverter.cs
- SqlInfoMessageEvent.cs
- CaseInsensitiveComparer.cs
- OperationGenerator.cs
- ToolStripContentPanel.cs
- IsolatedStorageFileStream.cs
- MultiBinding.cs
- SrgsSemanticInterpretationTag.cs
- ServiceMetadataContractBehavior.cs
- DefaultAsyncDataDispatcher.cs
- FocusWithinProperty.cs
- SqlBooleanMismatchVisitor.cs
- sqlstateclientmanager.cs
- CodeTypeParameterCollection.cs
- PropertyFilterAttribute.cs
- TemplateBuilder.cs
- ProviderCommandInfoUtils.cs
- ChtmlMobileTextWriter.cs
- NotCondition.cs
- XmlMapping.cs
- SqlLiftWhereClauses.cs
- RepeaterDataBoundAdapter.cs
- EnumValAlphaComparer.cs
- ItemDragEvent.cs
- DesignerAutoFormatStyle.cs
- ClientSideQueueItem.cs
- ObjectHandle.cs
- TypeResolver.cs
- SynchronizedDispatch.cs
- ConfigXmlAttribute.cs
- Registration.cs
- SendKeys.cs
- SqlXmlStorage.cs
- HtmlTableCell.cs
- ParameterCollection.cs
- AnimationException.cs
- HttpModuleAction.cs
- ProviderConnectionPointCollection.cs
- ToolStripSeparatorRenderEventArgs.cs
- UIElementAutomationPeer.cs
- ToolStripGripRenderEventArgs.cs
- Currency.cs
- OdbcConnectionHandle.cs
- Vector3DCollection.cs
- BitSet.cs
- CompositeCollection.cs
- WSFederationHttpSecurity.cs
- ViewStateException.cs
- ActivatableWorkflowsQueryResult.cs
- CodeTypeDelegate.cs
- BooleanSwitch.cs
- SafeFileHandle.cs
- GenerateScriptTypeAttribute.cs
- HtmlTernaryTree.cs
- DesignOnlyAttribute.cs
- Byte.cs
- HttpCapabilitiesEvaluator.cs
- ReverseComparer.cs
- XslTransform.cs
- ConcurrentQueue.cs
- GeneralTransform2DTo3D.cs
- BufferModeSettings.cs
- DescendantBaseQuery.cs
- Double.cs
- RowType.cs
- Decorator.cs
- SettingsBindableAttribute.cs
- OracleCommandBuilder.cs
- TypeReference.cs
- HtmlEmptyTagControlBuilder.cs
- QueryableDataSource.cs
- TextLineBreak.cs
- CLSCompliantAttribute.cs
- EncodingInfo.cs
- TextEffect.cs
- FacetChecker.cs
- FlowDocumentView.cs
- SqlDataSourceTableQuery.cs
- FactoryMaker.cs
- FrameworkElement.cs
- MultiTouchSystemGestureLogic.cs
- SerializationHelper.cs
- PerformanceCounterPermissionEntry.cs
- XmlSchemaSimpleContentRestriction.cs
- HexParser.cs
- DataGridViewCellFormattingEventArgs.cs
- ChangeDirector.cs
- HtmlLabelAdapter.cs
- HybridDictionary.cs
- Quaternion.cs
- SuppressMessageAttribute.cs
- EventProviderWriter.cs
- TextElementCollection.cs