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
- NoneExcludedImageIndexConverter.cs
- ActivationArguments.cs
- JoinElimination.cs
- PackWebRequestFactory.cs
- NotConverter.cs
- SamlAuthorizationDecisionClaimResource.cs
- Module.cs
- DataGridViewColumn.cs
- ExpandCollapsePattern.cs
- CreateUserWizardDesigner.cs
- XmlSchemaRedefine.cs
- HttpInputStream.cs
- DrawingAttributeSerializer.cs
- XmlSerializationReader.cs
- WorkflowOperationContext.cs
- BindMarkupExtensionSerializer.cs
- SqlDataSourceQueryEditor.cs
- DataViewSetting.cs
- _LazyAsyncResult.cs
- DelimitedListTraceListener.cs
- Imaging.cs
- CodeEventReferenceExpression.cs
- HtmlSelect.cs
- JsonReaderWriterFactory.cs
- PeerContact.cs
- MetadataItemCollectionFactory.cs
- BuildProvider.cs
- IIS7WorkerRequest.cs
- LoginViewDesigner.cs
- Size3D.cs
- IItemContainerGenerator.cs
- XamlToRtfWriter.cs
- ThicknessConverter.cs
- EnlistmentState.cs
- ColorMap.cs
- securestring.cs
- Math.cs
- __TransparentProxy.cs
- EventLogger.cs
- XmlTextAttribute.cs
- MatrixValueSerializer.cs
- TextSelectionHelper.cs
- PersonalizationStateQuery.cs
- ValidationEventArgs.cs
- XmlTypeAttribute.cs
- EncodingNLS.cs
- QueryContinueDragEvent.cs
- RoleServiceManager.cs
- ProcessHostServerConfig.cs
- HwndKeyboardInputProvider.cs
- MsmqAuthenticationMode.cs
- diagnosticsswitches.cs
- DropDownList.cs
- CalendarData.cs
- TemplateControlCodeDomTreeGenerator.cs
- DecoderFallbackWithFailureFlag.cs
- JsonGlobals.cs
- WebPartTransformerCollection.cs
- WindowsListViewItem.cs
- FileSystemInfo.cs
- UdpDiscoveryEndpointElement.cs
- AuthenticationServiceManager.cs
- XamlSerializerUtil.cs
- EncodingConverter.cs
- DataGridLinkButton.cs
- Drawing.cs
- DocumentPage.cs
- NameScope.cs
- XmlSchemaAppInfo.cs
- SingleTagSectionHandler.cs
- CannotUnloadAppDomainException.cs
- OrderedDictionary.cs
- MenuAutomationPeer.cs
- UniqueSet.cs
- CompareInfo.cs
- UnmanagedMarshal.cs
- MultitargetingHelpers.cs
- Attributes.cs
- ToolboxDataAttribute.cs
- DataGridViewColumnConverter.cs
- FieldBuilder.cs
- ParameterBuilder.cs
- ManipulationDeltaEventArgs.cs
- EntityDataSourceChangingEventArgs.cs
- EntityDataSourceView.cs
- httpstaticobjectscollection.cs
- Transform3D.cs
- Permission.cs
- __FastResourceComparer.cs
- FormatterServicesNoSerializableCheck.cs
- X509RecipientCertificateClientElement.cs
- PeerInvitationResponse.cs
- HtmlMobileTextWriter.cs
- BatchWriter.cs
- DataTemplate.cs
- PrintEvent.cs
- Thickness.cs
- ClientOptions.cs
- SessionPageStateSection.cs
- PreviewPageInfo.cs