Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CompMod / System / CodeDOM / CodeCatchClause.cs / 1 / CodeCatchClause.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeCatchClause { private CodeStatementCollection statements; private CodeTypeReference catchExceptionType; private string localName; ///Represents a catch exception block. ////// public CodeCatchClause() { } ////// Initializes an instance of ///. /// /// public CodeCatchClause(string localName) { this.localName = localName; } ///[To be supplied.] ////// public CodeCatchClause(string localName, CodeTypeReference catchExceptionType) { this.localName = localName; this.catchExceptionType = catchExceptionType; } ///[To be supplied.] ////// public CodeCatchClause(string localName, CodeTypeReference catchExceptionType, params CodeStatement[] statements) { this.localName = localName; this.catchExceptionType = catchExceptionType; Statements.AddRange(statements); } ///[To be supplied.] ////// public string LocalName { get { return (localName == null) ? string.Empty: localName; } set { localName = value; } } ///[To be supplied.] ////// public CodeTypeReference CatchExceptionType { get { if (catchExceptionType == null) { catchExceptionType = new CodeTypeReference(typeof(System.Exception)); } return catchExceptionType; } set { catchExceptionType = value; } } ///[To be supplied.] ////// public CodeStatementCollection Statements { get { if (statements == null) { statements = new CodeStatementCollection(); } return statements; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets the statements within the clause. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeCatchClause { private CodeStatementCollection statements; private CodeTypeReference catchExceptionType; private string localName; ///Represents a catch exception block. ////// public CodeCatchClause() { } ////// Initializes an instance of ///. /// /// public CodeCatchClause(string localName) { this.localName = localName; } ///[To be supplied.] ////// public CodeCatchClause(string localName, CodeTypeReference catchExceptionType) { this.localName = localName; this.catchExceptionType = catchExceptionType; } ///[To be supplied.] ////// public CodeCatchClause(string localName, CodeTypeReference catchExceptionType, params CodeStatement[] statements) { this.localName = localName; this.catchExceptionType = catchExceptionType; Statements.AddRange(statements); } ///[To be supplied.] ////// public string LocalName { get { return (localName == null) ? string.Empty: localName; } set { localName = value; } } ///[To be supplied.] ////// public CodeTypeReference CatchExceptionType { get { if (catchExceptionType == null) { catchExceptionType = new CodeTypeReference(typeof(System.Exception)); } return catchExceptionType; } set { catchExceptionType = value; } } ///[To be supplied.] ////// public CodeStatementCollection Statements { get { if (statements == null) { statements = new CodeStatementCollection(); } return statements; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets the statements within the clause. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataServiceExpressionVisitor.cs
- SqlAggregateChecker.cs
- ClientTargetCollection.cs
- BinaryUtilClasses.cs
- SmtpDigestAuthenticationModule.cs
- FixedPage.cs
- RuntimeVariablesExpression.cs
- MasterPageBuildProvider.cs
- EntityParameter.cs
- DateTimeOffsetConverter.cs
- DocumentApplication.cs
- Part.cs
- Tracking.cs
- LinqDataSourceInsertEventArgs.cs
- TextEditorTyping.cs
- DSACryptoServiceProvider.cs
- SubpageParaClient.cs
- LoginView.cs
- bidPrivateBase.cs
- HttpCacheParams.cs
- DataTable.cs
- ComponentResourceKeyConverter.cs
- SimpleWorkerRequest.cs
- SweepDirectionValidation.cs
- WindowsStartMenu.cs
- WindowsTooltip.cs
- MenuItemBindingCollection.cs
- SessionStateUtil.cs
- XmlAtomicValue.cs
- indexingfiltermarshaler.cs
- CompositeActivityDesigner.cs
- WpfXamlMember.cs
- HtmlInputImage.cs
- WindowsRichEdit.cs
- Model3DGroup.cs
- Vertex.cs
- BypassElement.cs
- ApplicationGesture.cs
- Inline.cs
- Monitor.cs
- WebPartTransformerCollection.cs
- Frame.cs
- NativeWindow.cs
- DataDocumentXPathNavigator.cs
- ToolStripProgressBar.cs
- XmlCompatibilityReader.cs
- SettingsPropertyIsReadOnlyException.cs
- Padding.cs
- TouchesOverProperty.cs
- XmlSchemaComplexContentRestriction.cs
- TemplateControlBuildProvider.cs
- RowBinding.cs
- OleDbConnection.cs
- StructureChangedEventArgs.cs
- SetIterators.cs
- ConfigurationManagerHelper.cs
- SQLGuidStorage.cs
- FaultDesigner.cs
- XsdBuilder.cs
- SplineQuaternionKeyFrame.cs
- SQLBytes.cs
- ResourcesBuildProvider.cs
- StyleModeStack.cs
- IIS7WorkerRequest.cs
- DoubleAnimationUsingPath.cs
- ChtmlTextBoxAdapter.cs
- CellCreator.cs
- DbDataSourceEnumerator.cs
- PanelDesigner.cs
- DocumentReferenceCollection.cs
- ExpressionNode.cs
- UseManagedPresentationBindingElementImporter.cs
- AlignmentXValidation.cs
- QilCloneVisitor.cs
- Region.cs
- SingleResultAttribute.cs
- HttpGetProtocolImporter.cs
- ExtendedPropertiesHandler.cs
- NativeMethods.cs
- MetadataPropertyCollection.cs
- ScriptingSectionGroup.cs
- ProvidePropertyAttribute.cs
- Translator.cs
- rsa.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- ZipIOExtraFieldZip64Element.cs
- CapabilitiesSection.cs
- HwndTarget.cs
- ScriptResourceInfo.cs
- ImageInfo.cs
- ChangeInterceptorAttribute.cs
- BoolExpression.cs
- DataControlFieldHeaderCell.cs
- XhtmlBasicListAdapter.cs
- DataSvcMapFileSerializer.cs
- RijndaelManaged.cs
- ChildTable.cs
- BitmapEffectCollection.cs
- RadioButton.cs
- ExceptionHandler.cs