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
- Application.cs
- ResourceType.cs
- BCryptNative.cs
- SrgsDocumentParser.cs
- DataAccessor.cs
- DrawingVisual.cs
- DataRelationCollection.cs
- Relationship.cs
- XmlHierarchyData.cs
- AssemblyLoader.cs
- UnsafeNativeMethodsMilCoreApi.cs
- NotifyInputEventArgs.cs
- XmlExceptionHelper.cs
- RubberbandSelector.cs
- XPathNodeInfoAtom.cs
- SimpleRecyclingCache.cs
- TemplateParser.cs
- GeneralTransform3DTo2DTo3D.cs
- QueryTreeBuilder.cs
- CompareInfo.cs
- MatrixTransform3D.cs
- BuildManager.cs
- CatalogZone.cs
- TypeReference.cs
- GraphicsPath.cs
- FixedNode.cs
- HtmlElementErrorEventArgs.cs
- PageTrueTypeFont.cs
- ExpressionBuilder.cs
- WebServiceHandlerFactory.cs
- XmlReflectionImporter.cs
- ClientTarget.cs
- RemoteArgument.cs
- WebPart.cs
- BindingMemberInfo.cs
- XmlSchemaSimpleContent.cs
- GridViewRow.cs
- XmlDataCollection.cs
- StickyNoteHelper.cs
- CompositeCollectionView.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- FrameworkTemplate.cs
- XomlSerializationHelpers.cs
- DataServiceOperationContext.cs
- JsonDeserializer.cs
- OraclePermission.cs
- CodeDomSerializationProvider.cs
- InplaceBitmapMetadataWriter.cs
- Underline.cs
- AttributeAction.cs
- ContextMarshalException.cs
- ExpressionBindings.cs
- RawStylusInputReport.cs
- TCPListener.cs
- StringBuilder.cs
- XPathScanner.cs
- SecurityPermission.cs
- XPathArrayIterator.cs
- PrintDocument.cs
- DynamicActionMessageFilter.cs
- TargetFrameworkAttribute.cs
- TreeWalker.cs
- WindowsPen.cs
- RegisteredScript.cs
- CopyOnWriteList.cs
- DataGridViewRowsAddedEventArgs.cs
- EpmContentSerializerBase.cs
- ConnectionManagementElement.cs
- BindToObject.cs
- AsyncResult.cs
- BindingContext.cs
- ScriptMethodAttribute.cs
- TriggerCollection.cs
- IERequestCache.cs
- SmtpClient.cs
- CommandLibraryHelper.cs
- RuleRefElement.cs
- InvalidTimeZoneException.cs
- FlowchartStart.xaml.cs
- PixelFormat.cs
- LinkedList.cs
- KeyedHashAlgorithm.cs
- InternalUserCancelledException.cs
- SecurityTokenRequirement.cs
- RoutedEvent.cs
- XmlNullResolver.cs
- BadImageFormatException.cs
- PolyBezierSegment.cs
- SchemaEntity.cs
- RSAPKCS1SignatureFormatter.cs
- Italic.cs
- MetadataSerializer.cs
- XomlDesignerLoader.cs
- ToolStripItemEventArgs.cs
- WeakReference.cs
- Sql8ExpressionRewriter.cs
- HttpCachePolicy.cs
- TextEndOfParagraph.cs
- Ref.cs
- DbConnectionPoolGroup.cs