Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / infocard / Client / System / IdentityModel / Selectors / InfoCardArgumentException.cs / 1305376 / InfoCardArgumentException.cs
//------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
namespace Microsoft.InfoCards
{
using System;
using System.Runtime.Serialization;
using Microsoft.InfoCards.Diagnostics;
//
// Indicates an incorrect argument was passed to the system.
//
internal class InfoCardArgumentException : InfoCardBaseException
{
//
// This the code that this exception translates into.
//
const int HRESULT = (int)EventCode.E_ICARD_ARGUMENT;
public InfoCardArgumentException()
: base( HRESULT )
{
}
public InfoCardArgumentException( string message )
:base( HRESULT, message )
{
}
public InfoCardArgumentException( string message, Exception inner )
: base( HRESULT, message, inner )
{
}
protected InfoCardArgumentException( 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;
//
// Indicates an incorrect argument was passed to the system.
//
internal class InfoCardArgumentException : InfoCardBaseException
{
//
// This the code that this exception translates into.
//
const int HRESULT = (int)EventCode.E_ICARD_ARGUMENT;
public InfoCardArgumentException()
: base( HRESULT )
{
}
public InfoCardArgumentException( string message )
:base( HRESULT, message )
{
}
public InfoCardArgumentException( string message, Exception inner )
: base( HRESULT, message, inner )
{
}
protected InfoCardArgumentException( 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
- ContractBase.cs
- CompModSwitches.cs
- Action.cs
- ServiceReflector.cs
- FastEncoderStatics.cs
- LocalServiceSecuritySettingsElement.cs
- EventSinkActivityDesigner.cs
- ButtonChrome.cs
- FrameSecurityDescriptor.cs
- KeySpline.cs
- BindingExpressionBase.cs
- AffineTransform3D.cs
- TextEditorSpelling.cs
- BuildProvidersCompiler.cs
- ElementsClipboardData.cs
- OnOperation.cs
- Comparer.cs
- InputManager.cs
- ConnectionInterfaceCollection.cs
- FlowSwitchLink.cs
- StdValidatorsAndConverters.cs
- CompiledWorkflowDefinitionContext.cs
- DataGridViewColumnConverter.cs
- ActivityStateRecord.cs
- MultiByteCodec.cs
- DataSetFieldSchema.cs
- TextFormattingConverter.cs
- ColumnMap.cs
- TemplateEditingService.cs
- EventManager.cs
- Completion.cs
- HostingMessageProperty.cs
- QueryContinueDragEvent.cs
- odbcmetadatafactory.cs
- figurelengthconverter.cs
- CreateRefExpr.cs
- Source.cs
- LayoutSettings.cs
- ByteRangeDownloader.cs
- MessageSecurityException.cs
- Thumb.cs
- BitmapImage.cs
- Cell.cs
- WindowsTokenRoleProvider.cs
- ToolTipAutomationPeer.cs
- ReadOnlyDataSourceView.cs
- AppSettingsSection.cs
- UserControlParser.cs
- BrowserDefinition.cs
- SqlParameter.cs
- serverconfig.cs
- ValueTable.cs
- ToolStripSystemRenderer.cs
- DeriveBytes.cs
- DesignTimeParseData.cs
- ApplicationManager.cs
- QilChoice.cs
- IERequestCache.cs
- PasswordTextNavigator.cs
- PanelStyle.cs
- StringConcat.cs
- _ProxyRegBlob.cs
- SqlDataSourceQueryEditorForm.cs
- SafeFindHandle.cs
- DataBoundControlParameterTarget.cs
- URIFormatException.cs
- ObjectListFieldsPage.cs
- ReadOnlyHierarchicalDataSourceView.cs
- SessionIDManager.cs
- ResourceContainer.cs
- RetriableClipboard.cs
- MailSettingsSection.cs
- LinqDataView.cs
- DataGridViewTextBoxColumn.cs
- MsmqIntegrationReceiveParameters.cs
- ProgressBarAutomationPeer.cs
- CodeSubDirectory.cs
- smtpconnection.cs
- PagerStyle.cs
- PropertyPathConverter.cs
- WorkflowOperationBehavior.cs
- DmlSqlGenerator.cs
- EnvelopedPkcs7.cs
- ProfileSettingsCollection.cs
- CompressionTransform.cs
- Typography.cs
- NativeMethods.cs
- HttpContext.cs
- Stroke2.cs
- StateWorkerRequest.cs
- DataSpaceManager.cs
- COM2ComponentEditor.cs
- TreeNodeCollection.cs
- ToolStripSeparatorRenderEventArgs.cs
- HostedHttpTransportManager.cs
- Timeline.cs
- InvalidOleVariantTypeException.cs
- ControlUtil.cs
- PageContent.cs
- TimeSpanMinutesOrInfiniteConverter.cs