Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / infocard / Client / System / IdentityModel / Selectors / InternalUserCancelledException.cs / 1 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ExpressionWriter.cs
- TreeNodeMouseHoverEvent.cs
- TrackingProfileSerializer.cs
- TaskFileService.cs
- Stack.cs
- ApplicationGesture.cs
- ToolStripContentPanelDesigner.cs
- XmlBaseWriter.cs
- SqlConnection.cs
- DataGridColumn.cs
- ReaderContextStackData.cs
- UnsafeNativeMethods.cs
- HandlerBase.cs
- DataRecordObjectView.cs
- Codec.cs
- LambdaCompiler.ControlFlow.cs
- CharacterHit.cs
- OdbcParameter.cs
- ControlBuilder.cs
- PersonalizableTypeEntry.cs
- PathStreamGeometryContext.cs
- Vector3dCollection.cs
- MiniParameterInfo.cs
- COM2PropertyDescriptor.cs
- MediaElement.cs
- SingleTagSectionHandler.cs
- DataMemberListEditor.cs
- CacheDict.cs
- NetworkInterface.cs
- SafeHandles.cs
- LocalFileSettingsProvider.cs
- UriSection.cs
- RegexCode.cs
- SmtpFailedRecipientException.cs
- DNS.cs
- GraphicsPath.cs
- CompilerGeneratedAttribute.cs
- AbsoluteQuery.cs
- WhitespaceRule.cs
- EnumConverter.cs
- VideoDrawing.cs
- NativeMethods.cs
- InOutArgument.cs
- TabControl.cs
- SrgsText.cs
- SafeRegistryHandle.cs
- GridViewUpdateEventArgs.cs
- TimeEnumHelper.cs
- PerspectiveCamera.cs
- CodeTypeDeclarationCollection.cs
- CodeDOMUtility.cs
- UIElementParagraph.cs
- ButtonFieldBase.cs
- EventEntry.cs
- EntityChangedParams.cs
- DateTimeConstantAttribute.cs
- Aes.cs
- ExtendedPropertyDescriptor.cs
- XmlSchemaSet.cs
- Point.cs
- FreezableOperations.cs
- CriticalExceptions.cs
- ServicePoint.cs
- DemultiplexingDispatchMessageFormatter.cs
- UriTemplateTrieNode.cs
- SqlDataSourceFilteringEventArgs.cs
- Point4D.cs
- ToolboxBitmapAttribute.cs
- Misc.cs
- CodeCompiler.cs
- WebServiceEnumData.cs
- indexingfiltermarshaler.cs
- XmlHelper.cs
- DynamicMetaObject.cs
- BidPrivateBase.cs
- _KerberosClient.cs
- AutomationPropertyInfo.cs
- CodeAccessSecurityEngine.cs
- StylusButtonCollection.cs
- InvokeMemberBinder.cs
- MethodBody.cs
- CodeIdentifiers.cs
- DesignSurfaceCollection.cs
- SchemaImporter.cs
- HtmlDocument.cs
- WMICapabilities.cs
- Point.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- PropertyGridCommands.cs
- CheckBoxField.cs
- ImageMap.cs
- CalloutQueueItem.cs
- LogicalChannelCollection.cs
- Part.cs
- ActivationServices.cs
- MoveSizeWinEventHandler.cs
- VisualTreeUtils.cs
- And.cs
- LayoutSettings.cs
- ToolStripKeyboardHandlingService.cs