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
- SiteMapSection.cs
- SchemaImporterExtensionsSection.cs
- HwndSource.cs
- HMAC.cs
- EventLogPermission.cs
- SafeFileMappingHandle.cs
- CacheChildrenQuery.cs
- ConversionHelper.cs
- NotifyIcon.cs
- ProcessProtocolHandler.cs
- SessionStateModule.cs
- HttpPostedFile.cs
- MailAddress.cs
- HtmlLink.cs
- CharEntityEncoderFallback.cs
- ObjectConverter.cs
- GridViewCommandEventArgs.cs
- MergeFilterQuery.cs
- xdrvalidator.cs
- ConnectionsZone.cs
- CmsInterop.cs
- SoapRpcServiceAttribute.cs
- MaxSessionCountExceededException.cs
- AutomationIdentifier.cs
- AnnouncementClient.cs
- PolicyLevel.cs
- ScrollBarAutomationPeer.cs
- ColorDialog.cs
- NamespaceTable.cs
- RelationshipDetailsRow.cs
- SHA256Managed.cs
- XmlSchemaException.cs
- EntityConnectionStringBuilder.cs
- HashHelper.cs
- ChameleonKey.cs
- XmlEnumAttribute.cs
- _CommandStream.cs
- ListDictionaryInternal.cs
- CodeAttachEventStatement.cs
- ScrollProperties.cs
- Zone.cs
- MetadataSerializer.cs
- HTMLTagNameToTypeMapper.cs
- ViewUtilities.cs
- TextDecorationCollection.cs
- ClientConfigPaths.cs
- DelayedRegex.cs
- OracleRowUpdatingEventArgs.cs
- returneventsaver.cs
- EtwTrace.cs
- Form.cs
- Win32Native.cs
- DocumentOutline.cs
- SelectQueryOperator.cs
- DataViewManagerListItemTypeDescriptor.cs
- DropDownList.cs
- MdiWindowListStrip.cs
- ItemDragEvent.cs
- HighlightVisual.cs
- WorkflowInstance.cs
- TextEditorTyping.cs
- RedirectionProxy.cs
- ControlCollection.cs
- MobileControl.cs
- _NetRes.cs
- DocumentGridPage.cs
- SystemUdpStatistics.cs
- SmtpException.cs
- QilList.cs
- WizardStepBase.cs
- MessageSecurityTokenVersion.cs
- SamlAuthenticationStatement.cs
- StreamAsIStream.cs
- SQLBinaryStorage.cs
- AmbientProperties.cs
- NetworkInformationException.cs
- SqlDataSourceTableQuery.cs
- DataGridViewCellLinkedList.cs
- XmlHierarchicalDataSourceView.cs
- XmlQueryTypeFactory.cs
- MetadataItemCollectionFactory.cs
- SendActivityDesignerTheme.cs
- XmlParserContext.cs
- ValidationUtility.cs
- AnnotationAdorner.cs
- ArrangedElement.cs
- FileSystemInfo.cs
- X509Utils.cs
- DependencyObjectCodeDomSerializer.cs
- GrowingArray.cs
- SmtpClient.cs
- BulletedList.cs
- ProfilePropertyMetadata.cs
- CallbackDebugElement.cs
- SingleSelectRootGridEntry.cs
- EdmSchemaError.cs
- EnumUnknown.cs
- JsonClassDataContract.cs
- Component.cs
- TitleStyle.cs