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
- HandlerBase.cs
- SoapObjectWriter.cs
- ElementAction.cs
- ImplicitInputBrush.cs
- ComponentEditorPage.cs
- LocalizationComments.cs
- GraphicsPathIterator.cs
- ObjectConverter.cs
- EndpointAddress.cs
- AssemblyName.cs
- DataQuery.cs
- TdsRecordBufferSetter.cs
- SystemColorTracker.cs
- regiisutil.cs
- RoutingSection.cs
- __TransparentProxy.cs
- ProxyFragment.cs
- HwndStylusInputProvider.cs
- dtdvalidator.cs
- StyleXamlTreeBuilder.cs
- MetadataArtifactLoaderCompositeResource.cs
- ReachSerializationUtils.cs
- DrawingGroupDrawingContext.cs
- TreeView.cs
- RoutedEventConverter.cs
- RelatedImageListAttribute.cs
- BufferBuilder.cs
- DependencyPropertyChangedEventArgs.cs
- UnauthorizedAccessException.cs
- RequestContext.cs
- Point3DAnimation.cs
- CultureTableRecord.cs
- XmlSchemaNotation.cs
- CheckBoxFlatAdapter.cs
- recordstate.cs
- ConfigurationValue.cs
- TextStore.cs
- RelationshipDetailsRow.cs
- ZoneButton.cs
- WebEvents.cs
- _StreamFramer.cs
- PartialTrustVisibleAssembly.cs
- SiteIdentityPermission.cs
- TextAction.cs
- SoapElementAttribute.cs
- ChangeInterceptorAttribute.cs
- ColumnHeader.cs
- ParserContext.cs
- OlePropertyStructs.cs
- ScrollViewer.cs
- MenuItem.cs
- OperationPickerDialog.designer.cs
- DockEditor.cs
- GB18030Encoding.cs
- QilIterator.cs
- WorkflowApplicationUnhandledExceptionEventArgs.cs
- XmlWrappingReader.cs
- LogFlushAsyncResult.cs
- InputProviderSite.cs
- IItemProperties.cs
- NameValueConfigurationElement.cs
- SiteIdentityPermission.cs
- _WinHttpWebProxyDataBuilder.cs
- rsa.cs
- DashStyle.cs
- InteropAutomationProvider.cs
- LinqDataSourceView.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- BufferModesCollection.cs
- GroupByExpressionRewriter.cs
- ReachUIElementCollectionSerializer.cs
- SnapshotChangeTrackingStrategy.cs
- FatalException.cs
- TextBreakpoint.cs
- externdll.cs
- XmlILTrace.cs
- Container.cs
- ManifestResourceInfo.cs
- VirtualPathUtility.cs
- EntityContainer.cs
- StrokeSerializer.cs
- InternalControlCollection.cs
- DeriveBytes.cs
- CacheMemory.cs
- DashStyle.cs
- EditCommandColumn.cs
- ToolStripDropDownClosingEventArgs.cs
- StoreContentChangedEventArgs.cs
- MailBnfHelper.cs
- DesignerExtenders.cs
- MarkedHighlightComponent.cs
- LocatorBase.cs
- ZoneButton.cs
- SortDescriptionCollection.cs
- HttpResponseHeader.cs
- SR.cs
- IRCollection.cs
- Table.cs
- TypeConverterAttribute.cs
- HijriCalendar.cs