Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Data / System / Data / SqlClient / SqlInfoMessageEvent.cs / 1305376 / SqlInfoMessageEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- namespace System.Data.SqlClient { using System; public sealed class SqlInfoMessageEventArgs : System.EventArgs { private SqlException exception; internal SqlInfoMessageEventArgs(SqlException exception) { this.exception = exception; } public SqlErrorCollection Errors { get { return exception.Errors;} } /*virtual protected*/private bool ShouldSerializeErrors() { // MDAC 65548 return (null != exception) && (0 < exception.Errors.Count); } public string Message { // MDAC 68482 get { return exception.Message; } } public string Source { // MDAC 68482 get { return exception.Source;} } override public string ToString() { // MDAC 68482 return Message; } } } // 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
- SafeCryptoKeyHandle.cs
- QueueSurrogate.cs
- ReflectEventDescriptor.cs
- EntityCommandDefinition.cs
- PkcsUtils.cs
- AuthorizationContext.cs
- TextSelectionHelper.cs
- OperatingSystem.cs
- PackWebResponse.cs
- DataRowChangeEvent.cs
- BrowserPolicyValidator.cs
- UserUseLicenseDictionaryLoader.cs
- DataGridViewRowHeaderCell.cs
- xml.cs
- InlineCollection.cs
- EmptyEnumerator.cs
- GlyphElement.cs
- SequenceDesigner.cs
- RawTextInputReport.cs
- TextDecoration.cs
- AdapterUtil.cs
- StateManagedCollection.cs
- ServicePoint.cs
- MetadataArtifactLoaderFile.cs
- FileNotFoundException.cs
- HotSpot.cs
- EventRecordWrittenEventArgs.cs
- EmptyReadOnlyDictionaryInternal.cs
- SerializationException.cs
- HttpCapabilitiesBase.cs
- PropertyValueChangedEvent.cs
- PerformanceCounterPermissionEntry.cs
- WindowsListViewItemCheckBox.cs
- Expression.cs
- MarshalDirectiveException.cs
- NaturalLanguageHyphenator.cs
- SQLConvert.cs
- HandledMouseEvent.cs
- DataGridViewBindingCompleteEventArgs.cs
- SqlUserDefinedAggregateAttribute.cs
- DetailsViewPagerRow.cs
- CallSiteHelpers.cs
- WorkflowApplicationCompletedException.cs
- DiscoveryReferences.cs
- WindowsTitleBar.cs
- RecipientInfo.cs
- FormViewModeEventArgs.cs
- Listbox.cs
- EventWaitHandle.cs
- AnnouncementDispatcherAsyncResult.cs
- _LocalDataStore.cs
- BitmapEffectInputConnector.cs
- DbConnectionClosed.cs
- ValidatorAttribute.cs
- WebPartUtil.cs
- DataGridRowDetailsEventArgs.cs
- ActivationServices.cs
- SchemaImporterExtension.cs
- Mutex.cs
- BrowserCapabilitiesCodeGenerator.cs
- SQLBinary.cs
- MobileCapabilities.cs
- __ConsoleStream.cs
- CodeRemoveEventStatement.cs
- UserPreferenceChangingEventArgs.cs
- SqlBinder.cs
- PerformanceCountersElement.cs
- DesignerActionPropertyItem.cs
- ScalarType.cs
- SafeBitVector32.cs
- DependencyObjectProvider.cs
- XamlStyleSerializer.cs
- NativeWindow.cs
- EncoderFallback.cs
- UInt16Converter.cs
- JavaScriptString.cs
- Focus.cs
- TagMapCollection.cs
- URI.cs
- MouseGestureConverter.cs
- BitmapEffectGroup.cs
- XsdDuration.cs
- DeferredReference.cs
- RoutedEvent.cs
- HMACSHA384.cs
- SiteOfOriginPart.cs
- TokenBasedSetEnumerator.cs
- Queue.cs
- SqlDeflator.cs
- InteropTrackingRecord.cs
- TemplateControlBuildProvider.cs
- UnsafeNativeMethods.cs
- NativeMethods.cs
- XmlCharacterData.cs
- RelationshipEndCollection.cs
- XmlSchemaAttributeGroupRef.cs
- ContentDefinition.cs
- ControlFilterExpression.cs
- GenericTextProperties.cs
- StructuredType.cs