Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / clr / src / BCL / System / Runtime / InteropServices / SafeArrayTypeMismatchException.cs / 1 / SafeArrayTypeMismatchException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: SafeArrayTypeMismatchException ** ** Purpose: This exception is thrown when the runtime type of an array ** is different than the safe array sub type specified in the ** metadata. ** =============================================================================*/ namespace System.Runtime.InteropServices { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class SafeArrayTypeMismatchException : SystemException { public SafeArrayTypeMismatchException() : base(Environment.GetResourceString("Arg_SafeArrayTypeMismatchException")) { SetErrorCode(__HResults.COR_E_SAFEARRAYTYPEMISMATCH); } public SafeArrayTypeMismatchException(String message) : base(message) { SetErrorCode(__HResults.COR_E_SAFEARRAYTYPEMISMATCH); } public SafeArrayTypeMismatchException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_SAFEARRAYTYPEMISMATCH); } protected SafeArrayTypeMismatchException(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: SafeArrayTypeMismatchException ** ** Purpose: This exception is thrown when the runtime type of an array ** is different than the safe array sub type specified in the ** metadata. ** =============================================================================*/ namespace System.Runtime.InteropServices { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class SafeArrayTypeMismatchException : SystemException { public SafeArrayTypeMismatchException() : base(Environment.GetResourceString("Arg_SafeArrayTypeMismatchException")) { SetErrorCode(__HResults.COR_E_SAFEARRAYTYPEMISMATCH); } public SafeArrayTypeMismatchException(String message) : base(message) { SetErrorCode(__HResults.COR_E_SAFEARRAYTYPEMISMATCH); } public SafeArrayTypeMismatchException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_SAFEARRAYTYPEMISMATCH); } protected SafeArrayTypeMismatchException(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
- VectorValueSerializer.cs
- CaseInsensitiveComparer.cs
- ColorTransformHelper.cs
- EdmFunctionAttribute.cs
- AttributeCollection.cs
- QueryOperatorEnumerator.cs
- UDPClient.cs
- ExceptionNotification.cs
- TableHeaderCell.cs
- EntityDesignerUtils.cs
- _ShellExpression.cs
- ListBoxItemWrapperAutomationPeer.cs
- ReversePositionQuery.cs
- BindingWorker.cs
- ToolStripDropDown.cs
- Italic.cs
- EmptyCollection.cs
- StyleBamlRecordReader.cs
- Activity.cs
- UnionCqlBlock.cs
- DependencyPropertyKind.cs
- MonitoringDescriptionAttribute.cs
- FontStretchConverter.cs
- SqlCommand.cs
- MenuCommandService.cs
- HtmlInputPassword.cs
- Soap.cs
- XmlNamespaceDeclarationsAttribute.cs
- NavigationProgressEventArgs.cs
- MouseGesture.cs
- TypeBuilderInstantiation.cs
- RijndaelCryptoServiceProvider.cs
- TypeConverterHelper.cs
- HostedTransportConfigurationManager.cs
- SocketException.cs
- PrtCap_Base.cs
- CompiledAction.cs
- TreeView.cs
- ArraySet.cs
- XsdBuildProvider.cs
- GridViewRow.cs
- BuilderPropertyEntry.cs
- DropDownList.cs
- TabControlAutomationPeer.cs
- SafeFindHandle.cs
- PersonalizationStateInfoCollection.cs
- ToolStripDesignerUtils.cs
- ImageClickEventArgs.cs
- ServiceParser.cs
- QilReference.cs
- XmlEntity.cs
- MethodImplAttribute.cs
- QilVisitor.cs
- EventSourceCreationData.cs
- MergablePropertyAttribute.cs
- PolyLineSegmentFigureLogic.cs
- PointCollectionConverter.cs
- OAVariantLib.cs
- ReachPageContentCollectionSerializerAsync.cs
- ADRoleFactoryConfiguration.cs
- JavascriptCallbackResponseProperty.cs
- BooleanAnimationBase.cs
- TemplateKey.cs
- DataGridColumnCollection.cs
- NamedObject.cs
- HtmlInputFile.cs
- MsmqAppDomainProtocolHandler.cs
- UTF32Encoding.cs
- GroupDescription.cs
- TransactionScope.cs
- SafeCryptoHandles.cs
- PropertyReferenceSerializer.cs
- TableAdapterManagerHelper.cs
- TreeNodeBinding.cs
- DataServiceKeyAttribute.cs
- RawStylusInput.cs
- AssemblyAttributesGoHere.cs
- StringAnimationUsingKeyFrames.cs
- ListControlConvertEventArgs.cs
- LoginUtil.cs
- DerivedKeySecurityTokenStub.cs
- ToolStripContentPanel.cs
- ApplicationDirectory.cs
- Line.cs
- RadioButton.cs
- Binding.cs
- StatusBarAutomationPeer.cs
- SourceElementsCollection.cs
- ToolStripItemDataObject.cs
- RootBrowserWindowProxy.cs
- GridViewRow.cs
- HWStack.cs
- WebPartZoneCollection.cs
- SelectionProviderWrapper.cs
- EncoderReplacementFallback.cs
- SHA256Managed.cs
- AuthenticationSection.cs
- SqlDataSourceQueryEditor.cs
- ArrayItemValue.cs
- TabControlCancelEvent.cs