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
- FieldNameLookup.cs
- BatchParser.cs
- ObjectDataSourceView.cs
- GPRECT.cs
- xamlnodes.cs
- ExceptionHandlers.cs
- PasswordDeriveBytes.cs
- DesignerHierarchicalDataSourceView.cs
- IndicCharClassifier.cs
- SynchronizationContext.cs
- FillErrorEventArgs.cs
- coordinatorscratchpad.cs
- WebServiceFault.cs
- OuterGlowBitmapEffect.cs
- _emptywebproxy.cs
- FileInfo.cs
- SessionParameter.cs
- DesignerActionListCollection.cs
- GeometryModel3D.cs
- FileLoadException.cs
- FixedSOMTextRun.cs
- CleanUpVirtualizedItemEventArgs.cs
- DynamicILGenerator.cs
- InstanceKeyCollisionException.cs
- StreamWriter.cs
- EventPrivateKey.cs
- SqlNamer.cs
- RelationshipManager.cs
- DataViewManager.cs
- HtmlShim.cs
- ProxySimple.cs
- TransformationRules.cs
- Page.cs
- SqlServices.cs
- Panel.cs
- UnsignedPublishLicense.cs
- PlacementWorkspace.cs
- IsolatedStorageFile.cs
- ReadOnlyCollectionBase.cs
- SchemaObjectWriter.cs
- DataGridViewCellLinkedList.cs
- WinEventHandler.cs
- ImpersonateTokenRef.cs
- CatalogZone.cs
- MailAddressParser.cs
- DataGridCell.cs
- UrlMappingCollection.cs
- ACL.cs
- ObjectTypeMapping.cs
- TypeInfo.cs
- KeyValuePairs.cs
- XmlSchemaType.cs
- TextComposition.cs
- CategoryNameCollection.cs
- ExceptionUtility.cs
- IndexedGlyphRun.cs
- ProgressiveCrcCalculatingStream.cs
- WindowsAuthenticationModule.cs
- NodeFunctions.cs
- TypeDependencyAttribute.cs
- HMACSHA512.cs
- DataProviderNameConverter.cs
- BitmapData.cs
- XmlCompatibilityReader.cs
- RuleCache.cs
- SafeFileMapViewHandle.cs
- LinkButton.cs
- ModelTreeManager.cs
- ProjectionRewriter.cs
- LongMinMaxAggregationOperator.cs
- FlowNode.cs
- ContentPresenter.cs
- RenderContext.cs
- ItemContainerProviderWrapper.cs
- SqlAliaser.cs
- ListViewItem.cs
- OuterGlowBitmapEffect.cs
- InputLanguageSource.cs
- AssociatedControlConverter.cs
- Deflater.cs
- ListViewItem.cs
- CheckedPointers.cs
- ClaimComparer.cs
- HttpStreamXmlDictionaryReader.cs
- Grid.cs
- ByteFacetDescriptionElement.cs
- InkSerializer.cs
- Debug.cs
- XmlArrayAttribute.cs
- DesignerVerb.cs
- BaseComponentEditor.cs
- BigInt.cs
- SegmentInfo.cs
- PropertyIDSet.cs
- PopupRoot.cs
- HandledMouseEvent.cs
- BamlRecords.cs
- EnumerableRowCollection.cs
- Pipe.cs
- ItemContainerProviderWrapper.cs