Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / EntryPointNotFoundException.cs / 1 / EntryPointNotFoundException.cs
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*==============================================================================
**
** Class: EntryPointNotFoundException
**
**
** Purpose: The exception class for some failed P/Invoke calls.
**
**
=============================================================================*/
namespace System {
using System;
using System.Runtime.Serialization;
[System.Runtime.InteropServices.ComVisible(true)]
[Serializable] public class EntryPointNotFoundException : TypeLoadException {
public EntryPointNotFoundException()
: base(Environment.GetResourceString("Arg_EntryPointNotFoundException")) {
SetErrorCode(__HResults.COR_E_ENTRYPOINTNOTFOUND);
}
public EntryPointNotFoundException(String message)
: base(message) {
SetErrorCode(__HResults.COR_E_ENTRYPOINTNOTFOUND);
}
public EntryPointNotFoundException(String message, Exception inner)
: base(message, inner) {
SetErrorCode(__HResults.COR_E_ENTRYPOINTNOTFOUND);
}
protected EntryPointNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) {
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*==============================================================================
**
** Class: EntryPointNotFoundException
**
**
** Purpose: The exception class for some failed P/Invoke calls.
**
**
=============================================================================*/
namespace System {
using System;
using System.Runtime.Serialization;
[System.Runtime.InteropServices.ComVisible(true)]
[Serializable] public class EntryPointNotFoundException : TypeLoadException {
public EntryPointNotFoundException()
: base(Environment.GetResourceString("Arg_EntryPointNotFoundException")) {
SetErrorCode(__HResults.COR_E_ENTRYPOINTNOTFOUND);
}
public EntryPointNotFoundException(String message)
: base(message) {
SetErrorCode(__HResults.COR_E_ENTRYPOINTNOTFOUND);
}
public EntryPointNotFoundException(String message, Exception inner)
: base(message, inner) {
SetErrorCode(__HResults.COR_E_ENTRYPOINTNOTFOUND);
}
protected EntryPointNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) {
}
}
}
// 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
- TextFragmentEngine.cs
- DiagnosticSection.cs
- DetailsViewDeletedEventArgs.cs
- DataGridViewColumnStateChangedEventArgs.cs
- PlaceHolder.cs
- Currency.cs
- CryptoStream.cs
- EditorServiceContext.cs
- FileAccessException.cs
- ColorBlend.cs
- DesignerPerfEventProvider.cs
- ExpandSegment.cs
- IntMinMaxAggregationOperator.cs
- AttachInfo.cs
- OracleMonthSpan.cs
- WebScriptEnablingBehavior.cs
- Attributes.cs
- QueryStack.cs
- VerificationAttribute.cs
- UrlPath.cs
- ProgressBarAutomationPeer.cs
- WindowsNonControl.cs
- Vector3DAnimationBase.cs
- CodeTypeDeclarationCollection.cs
- ScopelessEnumAttribute.cs
- IndentedWriter.cs
- RightsManagementEncryptedStream.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- StylusButtonEventArgs.cs
- XmlMemberMapping.cs
- ToolStripScrollButton.cs
- ObservableCollection.cs
- CollectionChangeEventArgs.cs
- ExpressionConverter.cs
- CapabilitiesState.cs
- StoreItemCollection.cs
- TreeView.cs
- SortAction.cs
- ToolStripContainer.cs
- FileDialog.cs
- Mappings.cs
- UseLicense.cs
- NetworkStream.cs
- Point3DKeyFrameCollection.cs
- WebBrowserUriTypeConverter.cs
- TableLayoutPanel.cs
- UriParserTemplates.cs
- _NegoState.cs
- SmiEventStream.cs
- ParallelQuery.cs
- SQLBoolean.cs
- ComponentEditorForm.cs
- BCryptSafeHandles.cs
- SctClaimSerializer.cs
- TimeZone.cs
- PermissionSetTriple.cs
- MenuItemAutomationPeer.cs
- ThousandthOfEmRealDoubles.cs
- XmlMapping.cs
- DynamicFilterExpression.cs
- OutputCacheModule.cs
- BrowserCapabilitiesCodeGenerator.cs
- sitestring.cs
- ExtractedStateEntry.cs
- SafeRightsManagementQueryHandle.cs
- WebServiceParameterData.cs
- DropDownList.cs
- DrawingAttributeSerializer.cs
- SqlDataSourceTableQuery.cs
- ToolTip.cs
- NameValueConfigurationElement.cs
- FixedSOMPage.cs
- MessageQueueException.cs
- TypeExtensionConverter.cs
- HttpBrowserCapabilitiesBase.cs
- CngKey.cs
- DbExpressionVisitor_TResultType.cs
- DataRecord.cs
- _ListenerAsyncResult.cs
- RotateTransform3D.cs
- RectangleHotSpot.cs
- PrivilegedConfigurationManager.cs
- RawTextInputReport.cs
- CodeDomConfigurationHandler.cs
- ClientScriptManagerWrapper.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- DefaultAssemblyResolver.cs
- CollectionBuilder.cs
- ModulesEntry.cs
- SQLRoleProvider.cs
- WebRequestModuleElement.cs
- GridViewSelectEventArgs.cs
- UInt32Storage.cs
- Constraint.cs
- WindowsNonControl.cs
- DesignRelation.cs
- UITypeEditor.cs
- DeliveryRequirementsAttribute.cs
- XmlSchemaInferenceException.cs
- _SslSessionsCache.cs