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 / SafeArrayRankMismatchException.cs / 1 / SafeArrayRankMismatchException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: SafeArrayRankMismatchException ** ** Purpose: This exception is thrown when the runtime rank of a safe array ** is different than the array rank specified in the metadata. ** =============================================================================*/ namespace System.Runtime.InteropServices { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class SafeArrayRankMismatchException : SystemException { public SafeArrayRankMismatchException() : base(Environment.GetResourceString("Arg_SafeArrayRankMismatchException")) { SetErrorCode(__HResults.COR_E_SAFEARRAYRANKMISMATCH); } public SafeArrayRankMismatchException(String message) : base(message) { SetErrorCode(__HResults.COR_E_SAFEARRAYRANKMISMATCH); } public SafeArrayRankMismatchException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_SAFEARRAYRANKMISMATCH); } protected SafeArrayRankMismatchException(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: SafeArrayRankMismatchException ** ** Purpose: This exception is thrown when the runtime rank of a safe array ** is different than the array rank specified in the metadata. ** =============================================================================*/ namespace System.Runtime.InteropServices { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class SafeArrayRankMismatchException : SystemException { public SafeArrayRankMismatchException() : base(Environment.GetResourceString("Arg_SafeArrayRankMismatchException")) { SetErrorCode(__HResults.COR_E_SAFEARRAYRANKMISMATCH); } public SafeArrayRankMismatchException(String message) : base(message) { SetErrorCode(__HResults.COR_E_SAFEARRAYRANKMISMATCH); } public SafeArrayRankMismatchException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_SAFEARRAYRANKMISMATCH); } protected SafeArrayRankMismatchException(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
- Cast.cs
- ObjectStateFormatter.cs
- Selection.cs
- IndentedWriter.cs
- XmlImplementation.cs
- ConnectionProviderAttribute.cs
- ChineseLunisolarCalendar.cs
- PropertySet.cs
- CodeIdentifier.cs
- Win32SafeHandles.cs
- dsa.cs
- COAUTHIDENTITY.cs
- HashCryptoHandle.cs
- WorkflowMarkupSerializationManager.cs
- BamlRecordHelper.cs
- ServerIdentity.cs
- DataSourceControl.cs
- DataGridRow.cs
- ChannelServices.cs
- ReadOnlyDataSourceView.cs
- ByteAnimationBase.cs
- RuleDefinitions.cs
- MultiBindingExpression.cs
- RepeaterItem.cs
- RelationshipFixer.cs
- MethodExecutor.cs
- SafeNativeMethodsMilCoreApi.cs
- GrabHandleGlyph.cs
- FileDataSourceCache.cs
- FontEmbeddingManager.cs
- OleDbPermission.cs
- MulticastIPAddressInformationCollection.cs
- ScriptControlDescriptor.cs
- QilInvokeEarlyBound.cs
- SymbolDocumentInfo.cs
- KeyedHashAlgorithm.cs
- DispatchChannelSink.cs
- ButtonBaseAutomationPeer.cs
- HttpCapabilitiesBase.cs
- InitializationEventAttribute.cs
- CredentialManagerDialog.cs
- ImageClickEventArgs.cs
- Bidi.cs
- LocalizedNameDescriptionPair.cs
- CodeTypeDeclaration.cs
- GridViewCancelEditEventArgs.cs
- SyndicationDeserializer.cs
- WmpBitmapDecoder.cs
- HostedNamedPipeTransportManager.cs
- ObjectPersistData.cs
- PassportAuthenticationEventArgs.cs
- InkCanvas.cs
- URLAttribute.cs
- SocketElement.cs
- ClientRolePrincipal.cs
- ListBase.cs
- TransformerInfo.cs
- HMACMD5.cs
- UserNameSecurityToken.cs
- Symbol.cs
- TreeViewAutomationPeer.cs
- TableHeaderCell.cs
- CodeGroup.cs
- SqlUtils.cs
- TreeViewHitTestInfo.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- TextBounds.cs
- KeysConverter.cs
- DataGridCommandEventArgs.cs
- XamlBrushSerializer.cs
- BufferBuilder.cs
- CancellationState.cs
- HtmlSelect.cs
- TreeViewImageIndexConverter.cs
- SafeNativeMemoryHandle.cs
- EntityClientCacheKey.cs
- IntSecurity.cs
- Command.cs
- DbUpdateCommandTree.cs
- LinearQuaternionKeyFrame.cs
- ChtmlSelectionListAdapter.cs
- FixedSOMImage.cs
- Floater.cs
- TaskFormBase.cs
- ListViewDataItem.cs
- BaseTreeIterator.cs
- InkCanvasInnerCanvas.cs
- XPathBuilder.cs
- DbSourceParameterCollection.cs
- AttributeEmitter.cs
- ParseNumbers.cs
- WebPartConnectionsCloseVerb.cs
- BrowserCapabilitiesFactory.cs
- ObjectQueryState.cs
- DbDataRecord.cs
- Point.cs
- WebPageTraceListener.cs
- CodeCastExpression.cs
- ExceptionValidationRule.cs
- ContentValidator.cs