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
- SupportingTokenProviderSpecification.cs
- EventManager.cs
- ServiceSettingsResponseInfo.cs
- dataprotectionpermissionattribute.cs
- WebPartDescriptionCollection.cs
- LinkButton.cs
- ChannelProtectionRequirements.cs
- SamlAuthenticationClaimResource.cs
- ComboBoxDesigner.cs
- SqlLiftIndependentRowExpressions.cs
- FontStyleConverter.cs
- LogicalChannelCollection.cs
- DataGridBeginningEditEventArgs.cs
- DataGridViewRowStateChangedEventArgs.cs
- XPathParser.cs
- TreeNodeBindingCollection.cs
- unitconverter.cs
- SerializableAttribute.cs
- TypeDescriptorFilterService.cs
- DeobfuscatingStream.cs
- ReadWriteObjectLock.cs
- SmiRecordBuffer.cs
- ListBoxItemWrapperAutomationPeer.cs
- IncrementalCompileAnalyzer.cs
- DataGridViewCellMouseEventArgs.cs
- Parsers.cs
- CredentialCache.cs
- XPathNode.cs
- WhitespaceRuleLookup.cs
- ExternalException.cs
- CqlQuery.cs
- RIPEMD160.cs
- DataControlPagerLinkButton.cs
- UniformGrid.cs
- ConfigurationConverterBase.cs
- MembershipPasswordException.cs
- QilTypeChecker.cs
- InvalidProgramException.cs
- LicenseException.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- IndexedEnumerable.cs
- CodePrimitiveExpression.cs
- SystemUdpStatistics.cs
- ExternalFile.cs
- PersonalizablePropertyEntry.cs
- WsdlBuildProvider.cs
- FixedSOMLineRanges.cs
- FunctionCommandText.cs
- Parser.cs
- EntryPointNotFoundException.cs
- GetParentChain.cs
- Overlapped.cs
- Propagator.Evaluator.cs
- XmlSchemaParticle.cs
- NativeMethods.cs
- RectangleF.cs
- PageCopyCount.cs
- ResourceReferenceExpressionConverter.cs
- UnsafeNativeMethodsPenimc.cs
- PageBorderless.cs
- WebPartEditorOkVerb.cs
- cookie.cs
- SqlCacheDependencyDatabaseCollection.cs
- UpDownEvent.cs
- InternalDuplexBindingElement.cs
- SqlTriggerContext.cs
- SqlUserDefinedAggregateAttribute.cs
- ProviderConnectionPoint.cs
- ToolStripLabel.cs
- SiteMapNodeItem.cs
- XmlSchemaComplexContentExtension.cs
- GroupByQueryOperator.cs
- DecimalKeyFrameCollection.cs
- Compiler.cs
- GlyphRunDrawing.cs
- XmlSerializationWriter.cs
- TraceData.cs
- CompleteWizardStep.cs
- mediapermission.cs
- BuildManagerHost.cs
- SessionStateSection.cs
- Axis.cs
- SiteMapProvider.cs
- MessageQueueKey.cs
- AnnotationHighlightLayer.cs
- DataGridViewColumnEventArgs.cs
- Binding.cs
- CustomErrorsSection.cs
- WindowsPrincipal.cs
- __Filters.cs
- ConsoleTraceListener.cs
- wgx_render.cs
- SqlMultiplexer.cs
- Int64Converter.cs
- BindingNavigator.cs
- DispatcherProcessingDisabled.cs
- DataGridViewColumnCollectionEditor.cs
- AppDomainProtocolHandler.cs
- KnowledgeBase.cs
- BindingFormattingDialog.cs