Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- SqlRowUpdatedEvent.cs
- AncillaryOps.cs
- SubqueryRules.cs
- RepeaterCommandEventArgs.cs
- Converter.cs
- ArrangedElementCollection.cs
- ArraySortHelper.cs
- ToolStripSeparatorRenderEventArgs.cs
- SmiRequestExecutor.cs
- TagElement.cs
- CachedTypeface.cs
- Parser.cs
- SqlTypeConverter.cs
- ResourceSet.cs
- LabelEditEvent.cs
- DataGridViewCellValueEventArgs.cs
- CodeThrowExceptionStatement.cs
- CodeMemberProperty.cs
- XmlValueConverter.cs
- QilVisitor.cs
- MultiBindingExpression.cs
- RuleSettings.cs
- DataRelationCollection.cs
- SupportsPreviewControlAttribute.cs
- PageCache.cs
- GeneralTransform3DGroup.cs
- ApplicationBuildProvider.cs
- XmlFileEditor.cs
- ObservableCollection.cs
- DecoderFallbackWithFailureFlag.cs
- CodeSubDirectory.cs
- TypeToArgumentTypeConverter.cs
- ParameterCollection.cs
- DateTimeHelper.cs
- EntityDataSourceChangedEventArgs.cs
- ObjectConverter.cs
- FixedSOMTextRun.cs
- SecureUICommand.cs
- DesigntimeLicenseContext.cs
- OleDbEnumerator.cs
- SqlDataSourceQueryEditorForm.cs
- EntitySetDataBindingList.cs
- LabelExpression.cs
- MappingSource.cs
- DictionaryTraceRecord.cs
- SizeFConverter.cs
- DependencyStoreSurrogate.cs
- PlanCompiler.cs
- IsolatedStoragePermission.cs
- MessageTransmitTraceRecord.cs
- PageTheme.cs
- InlinedAggregationOperator.cs
- ParallelForEach.cs
- SymmetricAlgorithm.cs
- RecognizedAudio.cs
- DataGridViewLinkColumn.cs
- SQLMembershipProvider.cs
- XPathAncestorIterator.cs
- MachineKeySection.cs
- CodeParameterDeclarationExpression.cs
- SecurityDocument.cs
- ReadOnlyDataSourceView.cs
- ObjectDataSourceMethodEventArgs.cs
- DragEventArgs.cs
- _TimerThread.cs
- TemplateComponentConnector.cs
- ImageSourceConverter.cs
- PtsHelper.cs
- DbProviderFactory.cs
- ConstrainedGroup.cs
- SqlDataSourceEnumerator.cs
- TreeView.cs
- SharedPersonalizationStateInfo.cs
- HtmlGenericControl.cs
- SetStoryboardSpeedRatio.cs
- SQLDoubleStorage.cs
- PropertyPathConverter.cs
- PlatformCulture.cs
- SimplePropertyEntry.cs
- RegexCompilationInfo.cs
- SettingsContext.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- HtmlElementCollection.cs
- SafeSystemMetrics.cs
- DesignerResources.cs
- HostExecutionContextManager.cs
- SchemaExporter.cs
- ObjectAssociationEndMapping.cs
- ProfileEventArgs.cs
- Internal.cs
- ToolStripContainer.cs
- ControlType.cs
- SqlStatistics.cs
- MultiBinding.cs
- ApplicationBuildProvider.cs
- CookielessHelper.cs
- AsymmetricKeyExchangeFormatter.cs
- TextCharacters.cs
- KnownTypesHelper.cs
- RenderDataDrawingContext.cs