Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } } }/// Gets or sets the statements within the clause. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TabPanel.cs
- Delegate.cs
- OutputWindow.cs
- WindowsComboBox.cs
- TypeInformation.cs
- ParameterCollection.cs
- OracleTimeSpan.cs
- CodeArrayIndexerExpression.cs
- QueryStringParameter.cs
- EventLogInformation.cs
- Win32PrintDialog.cs
- HttpHandler.cs
- XmlQueryRuntime.cs
- PrivilegedConfigurationManager.cs
- EpmCustomContentDeSerializer.cs
- OleDbEnumerator.cs
- Documentation.cs
- StateMachineSubscription.cs
- StdRegProviderWrapper.cs
- RuleSettingsCollection.cs
- SpStreamWrapper.cs
- _KerberosClient.cs
- Parameter.cs
- ValidatingReaderNodeData.cs
- OracleConnectionStringBuilder.cs
- SerializationAttributes.cs
- SerializationObjectManager.cs
- StringAttributeCollection.cs
- PathGradientBrush.cs
- DataListItemEventArgs.cs
- TypefaceMap.cs
- X509Chain.cs
- DetailsViewActionList.cs
- CodeValidator.cs
- ProviderConnectionPoint.cs
- SqlDuplicator.cs
- httpapplicationstate.cs
- GridViewSelectEventArgs.cs
- X509ChainElement.cs
- WrappedIUnknown.cs
- WebPartMovingEventArgs.cs
- AddingNewEventArgs.cs
- DictionaryContent.cs
- BitmapMetadataEnumerator.cs
- InsufficientMemoryException.cs
- TextEffectCollection.cs
- CodeVariableReferenceExpression.cs
- ConcurrentDictionary.cs
- XmlUtf8RawTextWriter.cs
- CachedCompositeFamily.cs
- safemediahandle.cs
- NonParentingControl.cs
- SpeechAudioFormatInfo.cs
- Timeline.cs
- SqlProvider.cs
- FontSourceCollection.cs
- ObjectNavigationPropertyMapping.cs
- XsdDateTime.cs
- DependencyObject.cs
- Drawing.cs
- XmlReader.cs
- ComponentChangedEvent.cs
- FormsIdentity.cs
- ToolStripArrowRenderEventArgs.cs
- Vector3D.cs
- ListSortDescriptionCollection.cs
- ComAdminWrapper.cs
- DataBindingHandlerAttribute.cs
- TemplateInstanceAttribute.cs
- ValidatorCompatibilityHelper.cs
- LogSwitch.cs
- Evaluator.cs
- ObjectDataSourceView.cs
- MinimizableAttributeTypeConverter.cs
- HttpAsyncResult.cs
- SettingsPropertyValue.cs
- ConnectionStringSettings.cs
- codemethodreferenceexpression.cs
- MarkupExtensionParser.cs
- RTTrackingProfile.cs
- HtmlInputCheckBox.cs
- RowToParametersTransformer.cs
- EpmSyndicationContentSerializer.cs
- MonthCalendar.cs
- Dynamic.cs
- InvalidComObjectException.cs
- DiscoveryOperationContextExtension.cs
- DataGridViewAccessibleObject.cs
- DesignerTextBoxAdapter.cs
- AppSettingsExpressionBuilder.cs
- XmlConverter.cs
- PackageRelationshipSelector.cs
- RelationshipEndMember.cs
- CollectionChangedEventManager.cs
- LineInfo.cs
- FrameworkTextComposition.cs
- DocumentReferenceCollection.cs
- Path.cs
- PopOutPanel.cs
- ClientBuildManager.cs