Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / InteropServices / MarshalDirectiveException.cs / 1305376 / MarshalDirectiveException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: MarshalDirectiveException ** ** Purpose: This exception is thrown when the marshaller encounters a signature ** that has an invalid MarshalAs CA for a given argument or is not ** supported. ** =============================================================================*/ namespace System.Runtime.InteropServices { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class MarshalDirectiveException : SystemException { public MarshalDirectiveException() : base(Environment.GetResourceString("Arg_MarshalDirectiveException")) { SetErrorCode(__HResults.COR_E_MARSHALDIRECTIVE); } public MarshalDirectiveException(String message) : base(message) { SetErrorCode(__HResults.COR_E_MARSHALDIRECTIVE); } public MarshalDirectiveException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_MARSHALDIRECTIVE); } [System.Security.SecuritySafeCritical] // auto-generated protected MarshalDirectiveException(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
- GridViewAutomationPeer.cs
- AdornerPresentationContext.cs
- RelationshipEndCollection.cs
- XmlCharCheckingReader.cs
- FontSizeConverter.cs
- SymmetricAlgorithm.cs
- CustomAttributeFormatException.cs
- XmlSchemaAnnotation.cs
- CommandDevice.cs
- IconConverter.cs
- CheckBoxBaseAdapter.cs
- RoutingTable.cs
- ImageListUtils.cs
- Rfc2898DeriveBytes.cs
- DependentList.cs
- EventListenerClientSide.cs
- ExceptionAggregator.cs
- HttpStaticObjectsCollectionBase.cs
- NodeCounter.cs
- ProfileGroupSettings.cs
- TextTreeInsertUndoUnit.cs
- PenThread.cs
- Rotation3DAnimation.cs
- Thumb.cs
- MimeMapping.cs
- HandlerFactoryCache.cs
- ByteArrayHelperWithString.cs
- ReferencedAssembly.cs
- SafeLocalAllocation.cs
- BamlRecordWriter.cs
- OdbcInfoMessageEvent.cs
- UnsafeNativeMethods.cs
- SchemaElement.cs
- XmlImplementation.cs
- DispatcherOperation.cs
- FormatConvertedBitmap.cs
- nulltextcontainer.cs
- EntityContainerEntitySet.cs
- AutomationElementCollection.cs
- CollectionChangeEventArgs.cs
- ButtonRenderer.cs
- AuthenticatedStream.cs
- CategoryGridEntry.cs
- ToolTipService.cs
- DesignSurface.cs
- Pair.cs
- ReadOnlyTernaryTree.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- DesignerSerializationOptionsAttribute.cs
- SudsCommon.cs
- SHA384.cs
- SurrogateSelector.cs
- SecureEnvironment.cs
- DriveInfo.cs
- ComplexTypeEmitter.cs
- MailMessageEventArgs.cs
- StyleSelector.cs
- RawStylusInputCustomData.cs
- JpegBitmapDecoder.cs
- CompensateDesigner.cs
- StrokeFIndices.cs
- TextLineResult.cs
- RbTree.cs
- RandomNumberGenerator.cs
- FilterableAttribute.cs
- BitArray.cs
- ValueTypeFixupInfo.cs
- ViewCellSlot.cs
- SessionParameter.cs
- HostingPreferredMapPath.cs
- AuthenticationServiceManager.cs
- BindableTemplateBuilder.cs
- DataObject.cs
- FileDetails.cs
- RemoteWebConfigurationHost.cs
- DoubleUtil.cs
- CopyNamespacesAction.cs
- WebPartDeleteVerb.cs
- SqlInternalConnectionSmi.cs
- SerializationEventsCache.cs
- SectionVisual.cs
- X509SecurityTokenAuthenticator.cs
- Stack.cs
- SoapAttributeOverrides.cs
- ThreadExceptionEvent.cs
- RightsManagementEncryptionTransform.cs
- SynchronizedDispatch.cs
- _LocalDataStoreMgr.cs
- ComboBoxRenderer.cs
- OdbcConnectionPoolProviderInfo.cs
- DragEventArgs.cs
- MailHeaderInfo.cs
- LogicalExpr.cs
- HtmlForm.cs
- ToolZone.cs
- ReceiveContext.cs
- UnaryExpressionHelper.cs
- ViewBase.cs
- CalloutQueueItem.cs
- SpecialNameAttribute.cs