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
- EventData.cs
- ValidatorUtils.cs
- MessageSecurityOverMsmqElement.cs
- BezierSegment.cs
- DataTableClearEvent.cs
- DataGridPreparingCellForEditEventArgs.cs
- _NestedMultipleAsyncResult.cs
- ResXResourceWriter.cs
- MetadataPropertyAttribute.cs
- CodeAccessSecurityEngine.cs
- ParseElementCollection.cs
- XmlCompatibilityReader.cs
- MemberProjectionIndex.cs
- BinaryMethodMessage.cs
- WindowsProgressbar.cs
- IconConverter.cs
- RoleGroupCollectionEditor.cs
- RequestSecurityTokenSerializer.cs
- WindowsTab.cs
- DiagnosticsConfigurationHandler.cs
- MessageSmuggler.cs
- SqlConnectionPoolProviderInfo.cs
- TextBlockAutomationPeer.cs
- Int64.cs
- ScrollItemProviderWrapper.cs
- XmlILOptimizerVisitor.cs
- SelectionHighlightInfo.cs
- MediaEntryAttribute.cs
- EntityProviderFactory.cs
- XmlSerializerVersionAttribute.cs
- UInt32Converter.cs
- ScriptComponentDescriptor.cs
- DependentTransaction.cs
- IWorkflowDebuggerService.cs
- ComponentCommands.cs
- DesigntimeLicenseContextSerializer.cs
- TimeSpanConverter.cs
- ListBindingConverter.cs
- NumericUpDownAcceleration.cs
- behaviorssection.cs
- ScrollBarAutomationPeer.cs
- DoubleLinkListEnumerator.cs
- SocketElement.cs
- UnsafeNetInfoNativeMethods.cs
- EventToken.cs
- WebPartAddingEventArgs.cs
- WinFormsSecurity.cs
- IdleTimeoutMonitor.cs
- StructuredTypeEmitter.cs
- IndentedTextWriter.cs
- RangeValidator.cs
- EntityClientCacheEntry.cs
- ReservationNotFoundException.cs
- StaticResourceExtension.cs
- DesignerDataColumn.cs
- tibetanshape.cs
- PropertyDescriptorCollection.cs
- MailWebEventProvider.cs
- LogPolicy.cs
- ToolStripSplitButton.cs
- Label.cs
- Rule.cs
- MenuRenderer.cs
- ITextView.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- RealProxy.cs
- JsonXmlDataContract.cs
- SymmetricCryptoHandle.cs
- RelationshipWrapper.cs
- GridViewAutomationPeer.cs
- TreeNodeEventArgs.cs
- MediaElementAutomationPeer.cs
- NativeMethods.cs
- ContentHostHelper.cs
- LoginCancelEventArgs.cs
- TreeNode.cs
- TextBreakpoint.cs
- CompModSwitches.cs
- TypeConverterHelper.cs
- WebPartVerbsEventArgs.cs
- FreezableOperations.cs
- DataControlFieldCollection.cs
- Profiler.cs
- LiteralControl.cs
- WaitForChangedResult.cs
- HttpWriter.cs
- BamlReader.cs
- BinaryConverter.cs
- RectangleHotSpot.cs
- StringComparer.cs
- TypeUtil.cs
- HtmlInputSubmit.cs
- PingReply.cs
- BatchParser.cs
- MessageDroppedTraceRecord.cs
- DynamicValidator.cs
- SiteMapDataSource.cs
- SqlDataSourceConfigureSelectPanel.cs
- CombinedGeometry.cs
- ReferencedAssembly.cs