Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / infocard / Service / managed / Microsoft / InfoCards / FileAccessException.cs / 1 / FileAccessException.cs
//------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
namespace Microsoft.InfoCards
{
using System;
using System.Runtime.Serialization;
using Microsoft.InfoCards.Diagnostics;
//
// Indicates that there was either a problem opening teh file or accessing the data in it
//
internal class FileAccessException : InfoCardBaseException
{
//
// This the code that this exception translates into.
//
const int HRESULT = (int)EventCode.E_ICARD_FILE_ACCESS;
public FileAccessException()
: base( HRESULT )
{
}
public FileAccessException( string message )
:base( HRESULT, message )
{
}
public FileAccessException( string message, Exception inner )
: base( HRESULT, message, inner )
{
}
protected FileAccessException( 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
- RoutedUICommand.cs
- GroupBox.cs
- LocatorManager.cs
- Control.cs
- Config.cs
- XmlSchemaInfo.cs
- SettingsBase.cs
- LookupNode.cs
- XmlNodeList.cs
- WorkflowCreationContext.cs
- Avt.cs
- HttpWebRequestElement.cs
- IconEditor.cs
- ImpersonateTokenRef.cs
- Transaction.cs
- ListViewSelectEventArgs.cs
- Guid.cs
- XPathLexer.cs
- sapiproxy.cs
- GridToolTip.cs
- RawMouseInputReport.cs
- HttpRequestBase.cs
- CoTaskMemHandle.cs
- UInt32Storage.cs
- SecurityManager.cs
- FlowDocumentFormatter.cs
- ConfigurationHelpers.cs
- TemplateNodeContextMenu.cs
- ProcessThread.cs
- CommonDialog.cs
- CalendarDataBindingHandler.cs
- ReplyChannelBinder.cs
- ConfigurationConverterBase.cs
- WebBrowserEvent.cs
- NetStream.cs
- BaseTreeIterator.cs
- EncoderReplacementFallback.cs
- HtmlPhoneCallAdapter.cs
- OdbcStatementHandle.cs
- SQLSingleStorage.cs
- SemanticResultValue.cs
- _ListenerRequestStream.cs
- ReadWriteObjectLock.cs
- XmlSchemaAttributeGroup.cs
- GridViewDesigner.cs
- EmbeddedMailObject.cs
- CheckPair.cs
- Logging.cs
- SqlPersonalizationProvider.cs
- PropertyPathWorker.cs
- DesignerAutoFormat.cs
- CompilerWrapper.cs
- WindowsFormsHelpers.cs
- EmptyStringExpandableObjectConverter.cs
- NamedElement.cs
- MsmqIntegrationChannelFactory.cs
- TraceLog.cs
- RoleBoolean.cs
- EmptyStringExpandableObjectConverter.cs
- SafeEventLogWriteHandle.cs
- UpDownBaseDesigner.cs
- IdleTimeoutMonitor.cs
- LineBreakRecord.cs
- SyndicationDeserializer.cs
- SerialPinChanges.cs
- _ProxyChain.cs
- OracleBFile.cs
- XpsPackagingPolicy.cs
- FindResponse.cs
- StreamGeometry.cs
- GeometryDrawing.cs
- ProviderConnectionPointCollection.cs
- PartialToken.cs
- XMLUtil.cs
- SqlSelectClauseBuilder.cs
- WorkflowDefinitionContext.cs
- AssemblyBuilder.cs
- SchemaNotation.cs
- BuilderPropertyEntry.cs
- DataProtection.cs
- SetterBase.cs
- BindingsCollection.cs
- DesignerOptionService.cs
- PointCollection.cs
- ButtonAutomationPeer.cs
- ReflectEventDescriptor.cs
- PersonalizationStateQuery.cs
- PassportAuthenticationModule.cs
- DataGridViewBand.cs
- AudioDeviceOut.cs
- CodeObject.cs
- CompilationUnit.cs
- ExecutedRoutedEventArgs.cs
- ExeContext.cs
- Point3DAnimationUsingKeyFrames.cs
- HwndStylusInputProvider.cs
- ListViewInsertionMark.cs
- _AutoWebProxyScriptEngine.cs
- ProxyGenerationError.cs
- DTCTransactionManager.cs