Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / Runtime / InteropServices / MarshalDirectiveException.cs / 1 / 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); } protected MarshalDirectiveException(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: 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); } 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
- Graph.cs
- OrderedDictionaryStateHelper.cs
- ContextBase.cs
- Flowchart.cs
- HttpAsyncResult.cs
- CollectionEditVerbManager.cs
- Marshal.cs
- HttpMethodConstraint.cs
- ChtmlPhoneCallAdapter.cs
- ExtenderHelpers.cs
- TdsParserStaticMethods.cs
- CharacterBufferReference.cs
- SystemSounds.cs
- TickBar.cs
- SingleStorage.cs
- COM2AboutBoxPropertyDescriptor.cs
- LogExtentCollection.cs
- ExpressionParser.cs
- RightsManagementInformation.cs
- InternalControlCollection.cs
- _LocalDataStore.cs
- Matrix3DStack.cs
- OracleTimeSpan.cs
- PresentationSource.cs
- UIElementHelper.cs
- EventSinkHelperWriter.cs
- CodeDomConfigurationHandler.cs
- ListBox.cs
- EncryptedType.cs
- DragDrop.cs
- RolePrincipal.cs
- regiisutil.cs
- CodeStatementCollection.cs
- WMIGenerator.cs
- OdbcParameterCollection.cs
- DeclarationUpdate.cs
- HtmlImage.cs
- WsdlInspector.cs
- RequestCachePolicy.cs
- EntityDataSourceView.cs
- FacetValueContainer.cs
- SynchronizedDisposablePool.cs
- ObjectDataSourceSelectingEventArgs.cs
- Command.cs
- Utils.cs
- TextPenaltyModule.cs
- ConfigXmlText.cs
- ScaleTransform.cs
- RowBinding.cs
- TreeWalkHelper.cs
- DataGridCellAutomationPeer.cs
- SqlConnection.cs
- Main.cs
- GetLedgerEntryForRecipientRequest.cs
- TaiwanCalendar.cs
- SerialErrors.cs
- TemplateField.cs
- ResourceReferenceKeyNotFoundException.cs
- XmlHelper.cs
- RequiredFieldValidator.cs
- ClaimTypeElement.cs
- ExternalException.cs
- AppSettingsSection.cs
- GridViewPageEventArgs.cs
- UIElementAutomationPeer.cs
- RepeaterItemEventArgs.cs
- SQLSingle.cs
- AuthStoreRoleProvider.cs
- PropVariant.cs
- SafeCryptHandles.cs
- DataGridViewTextBoxColumn.cs
- NameValueConfigurationCollection.cs
- QuaternionAnimation.cs
- ObjectStateManagerMetadata.cs
- AssemblyBuilderData.cs
- LabelAutomationPeer.cs
- codemethodreferenceexpression.cs
- ChangeBlockUndoRecord.cs
- D3DImage.cs
- LocatorPartList.cs
- RoleBoolean.cs
- XmlDictionaryReaderQuotas.cs
- FontStyles.cs
- NamedElement.cs
- OpenTypeLayoutCache.cs
- PermissionToken.cs
- MLangCodePageEncoding.cs
- TimeZone.cs
- TypeDescriptor.cs
- MessageQueueCriteria.cs
- ValidationErrorEventArgs.cs
- DBCommand.cs
- ConnectionManagementSection.cs
- DrawItemEvent.cs
- TableRowCollection.cs
- TabletCollection.cs
- ChangePassword.cs
- EntityDescriptor.cs
- ThemeInfoAttribute.cs
- SHA512Managed.cs