Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / UI / TraceContextRecord.cs / 1 / TraceContextRecord.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web {
using System.Security.Permissions;
///
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public sealed class TraceContextRecord {
private string _category;
private string _message;
private Exception _errorInfo;
private bool _isWarning;
public TraceContextRecord(string category, string msg, bool isWarning, Exception errorInfo) {
_category = category;
_message = msg;
_isWarning = isWarning;
_errorInfo = errorInfo;
}
public string Category {
get { return _category; }
}
public Exception ErrorInfo {
get { return _errorInfo; }
}
public string Message {
get { return _message; }
}
public bool IsWarning {
get { return _isWarning; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web {
using System.Security.Permissions;
///
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public sealed class TraceContextRecord {
private string _category;
private string _message;
private Exception _errorInfo;
private bool _isWarning;
public TraceContextRecord(string category, string msg, bool isWarning, Exception errorInfo) {
_category = category;
_message = msg;
_isWarning = isWarning;
_errorInfo = errorInfo;
}
public string Category {
get { return _category; }
}
public Exception ErrorInfo {
get { return _errorInfo; }
}
public string Message {
get { return _message; }
}
public bool IsWarning {
get { return _isWarning; }
}
}
}
// 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
- XmlWriterSettings.cs
- DATA_BLOB.cs
- Image.cs
- _Semaphore.cs
- QuaternionKeyFrameCollection.cs
- ParsedAttributeCollection.cs
- ApplicationSecurityManager.cs
- SemaphoreFullException.cs
- WebPartPersonalization.cs
- Marshal.cs
- AppDomainFactory.cs
- FileRegion.cs
- DetailsViewModeEventArgs.cs
- EventLogEntryCollection.cs
- BulletedListEventArgs.cs
- JsonXmlDataContract.cs
- VoiceChangeEventArgs.cs
- BitmapImage.cs
- SymDocumentType.cs
- FileCodeGroup.cs
- HtmlInputCheckBox.cs
- ConfigurationFileMap.cs
- CodeAttributeDeclarationCollection.cs
- RoutedUICommand.cs
- CurrentChangingEventManager.cs
- FormViewCommandEventArgs.cs
- assertwrapper.cs
- CheckedPointers.cs
- SeverityFilter.cs
- PropertyTabAttribute.cs
- IndexExpression.cs
- AutomationEventArgs.cs
- ProfileSettings.cs
- PerformanceCounter.cs
- ResolveMatchesMessageCD1.cs
- CqlIdentifiers.cs
- ReadOnlyAttribute.cs
- RenderOptions.cs
- ConfigXmlCDataSection.cs
- SmiXetterAccessMap.cs
- OciEnlistContext.cs
- propertyentry.cs
- WebPartsPersonalization.cs
- _SslSessionsCache.cs
- CookieProtection.cs
- StateDesigner.TransitionInfo.cs
- DocobjHost.cs
- BadImageFormatException.cs
- AuthenticatedStream.cs
- MetadataArtifactLoaderFile.cs
- EncoderBestFitFallback.cs
- VectorKeyFrameCollection.cs
- HeaderedContentControl.cs
- ListBindableAttribute.cs
- Setter.cs
- DocumentOrderQuery.cs
- ParamArrayAttribute.cs
- TimeSpanMinutesConverter.cs
- PersistenceTypeAttribute.cs
- MergeFilterQuery.cs
- StorageMappingItemCollection.cs
- SerializationHelper.cs
- HttpVersion.cs
- CharacterMetrics.cs
- VersionPair.cs
- EntityClassGenerator.cs
- WindowsBrush.cs
- XmlReflectionMember.cs
- counter.cs
- OleDbReferenceCollection.cs
- HttpListenerException.cs
- EventDescriptor.cs
- TreeNodeBinding.cs
- TabletDevice.cs
- ScriptManager.cs
- IInstanceTable.cs
- StringUtil.cs
- BitmapEffect.cs
- AutoSizeToolBoxItem.cs
- XmlMessageFormatter.cs
- SafeNativeMethods.cs
- UpdatePanelControlTrigger.cs
- TrackingProfile.cs
- TextTreeRootTextBlock.cs
- WindowsListViewScroll.cs
- DeferredSelectedIndexReference.cs
- RegexStringValidatorAttribute.cs
- ButtonChrome.cs
- DataTemplateSelector.cs
- ResourcePart.cs
- SettingsProviderCollection.cs
- View.cs
- TreeNodeConverter.cs
- Publisher.cs
- Viewport3DAutomationPeer.cs
- SafeCryptoHandles.cs
- TextSegment.cs
- FunctionNode.cs
- ButtonBase.cs
- XPathChildIterator.cs