Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Data / System / Data / Sql / invalidudtexception.cs / 1305376 / invalidudtexception.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- using System; using System.Data; using System.Data.Common; using System.Runtime.Serialization; namespace Microsoft.SqlServer.Server { [Serializable] public sealed class InvalidUdtException : SystemException { internal InvalidUdtException() : base() { HResult = HResults.InvalidUdt; } internal InvalidUdtException(String message) : base(message) { HResult = HResults.InvalidUdt; } internal InvalidUdtException(String message, Exception innerException) : base(message, innerException) { HResult = HResults.InvalidUdt; } private InvalidUdtException(SerializationInfo si, StreamingContext sc) : base(si, sc) { } [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] public override void GetObjectData(SerializationInfo si, StreamingContext context) { base.GetObjectData(si, context); } internal static InvalidUdtException Create(Type udtType, string resourceReason) { string reason = Res.GetString(resourceReason); string message = Res.GetString(Res.SqlUdt_InvalidUdtMessage, udtType.FullName, reason); InvalidUdtException e = new InvalidUdtException(message); ADP.TraceExceptionAsReturnValue(e); return e; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- using System; using System.Data; using System.Data.Common; using System.Runtime.Serialization; namespace Microsoft.SqlServer.Server { [Serializable] public sealed class InvalidUdtException : SystemException { internal InvalidUdtException() : base() { HResult = HResults.InvalidUdt; } internal InvalidUdtException(String message) : base(message) { HResult = HResults.InvalidUdt; } internal InvalidUdtException(String message, Exception innerException) : base(message, innerException) { HResult = HResults.InvalidUdt; } private InvalidUdtException(SerializationInfo si, StreamingContext sc) : base(si, sc) { } [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] public override void GetObjectData(SerializationInfo si, StreamingContext context) { base.GetObjectData(si, context); } internal static InvalidUdtException Create(Type udtType, string resourceReason) { string reason = Res.GetString(resourceReason); string message = Res.GetString(Res.SqlUdt_InvalidUdtMessage, udtType.FullName, reason); InvalidUdtException e = new InvalidUdtException(message); ADP.TraceExceptionAsReturnValue(e); return e; } } } // 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
- cache.cs
- TextHidden.cs
- SHA512.cs
- AppendHelper.cs
- CompareValidator.cs
- CodeParameterDeclarationExpression.cs
- basecomparevalidator.cs
- ScriptingAuthenticationServiceSection.cs
- DeleteHelper.cs
- GAC.cs
- MouseOverProperty.cs
- StringWriter.cs
- DataPagerField.cs
- ObjectAnimationBase.cs
- TraceInternal.cs
- WindowsGrip.cs
- IISMapPath.cs
- ExpressionNormalizer.cs
- CorrelationKey.cs
- ProjectionPlanCompiler.cs
- SQLDoubleStorage.cs
- MeshGeometry3D.cs
- EntityChangedParams.cs
- BindingList.cs
- DbParameterCollection.cs
- ManipulationStartedEventArgs.cs
- Icon.cs
- ActivityPropertyReference.cs
- SerializerDescriptor.cs
- SqlMethodAttribute.cs
- DynamicControlParameter.cs
- MsmqQueue.cs
- ToolStripPanelCell.cs
- safex509handles.cs
- SoapIgnoreAttribute.cs
- ElementProxy.cs
- Sql8ExpressionRewriter.cs
- _DigestClient.cs
- TextEffectCollection.cs
- XmlTextReaderImplHelpers.cs
- FileClassifier.cs
- MetadataItemEmitter.cs
- HttpStreamMessage.cs
- XmlSchemaChoice.cs
- ControlCachePolicy.cs
- DoubleUtil.cs
- Renderer.cs
- Msmq.cs
- SqlDeflator.cs
- XmlDataSource.cs
- Effect.cs
- TableRow.cs
- JapaneseCalendar.cs
- OneOfScalarConst.cs
- XslCompiledTransform.cs
- NameSpaceEvent.cs
- ThicknessAnimation.cs
- Matrix3DConverter.cs
- DataSourceHelper.cs
- QueryOperationResponseOfT.cs
- HtmlHistory.cs
- VirtualDirectoryMappingCollection.cs
- CodePropertyReferenceExpression.cs
- VScrollProperties.cs
- LoginName.cs
- arabicshape.cs
- AsymmetricCryptoHandle.cs
- WindowsButton.cs
- ListItem.cs
- RowType.cs
- sapiproxy.cs
- HtmlUtf8RawTextWriter.cs
- HandleValueEditor.cs
- TraceEventCache.cs
- ApplicationException.cs
- XslAstAnalyzer.cs
- Package.cs
- RegexBoyerMoore.cs
- DataTableClearEvent.cs
- GeometryHitTestResult.cs
- followingquery.cs
- IntegrationExceptionEventArgs.cs
- ReflectionTypeLoadException.cs
- HeaderedItemsControl.cs
- LocatorManager.cs
- NGCSerializationManager.cs
- DataKeyCollection.cs
- AlphabeticalEnumConverter.cs
- Page.cs
- DrawingGroup.cs
- HttpHandlerActionCollection.cs
- UnsignedPublishLicense.cs
- DbConnectionOptions.cs
- TextEditorContextMenu.cs
- Rectangle.cs
- XmlElementAttributes.cs
- ButtonFieldBase.cs
- CommandID.cs
- WorkBatch.cs
- KeyToListMap.cs