Code:
/ FX-1434 / FX-1434 / 1.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
- PropertyOverridesTypeEditor.cs
- AdvancedBindingEditor.cs
- DataContractSerializerOperationBehavior.cs
- HierarchicalDataBoundControl.cs
- ApplyTemplatesAction.cs
- connectionpool.cs
- TdsParserStateObject.cs
- XmlBinaryWriterSession.cs
- InstanceDataCollectionCollection.cs
- NativeWrapper.cs
- DataServicePagingProviderWrapper.cs
- WindowClosedEventArgs.cs
- SqlWebEventProvider.cs
- ScalarConstant.cs
- DataServiceExpressionVisitor.cs
- SafeLibraryHandle.cs
- UnsafeNativeMethods.cs
- JsonReader.cs
- ItemAutomationPeer.cs
- XmlQueryRuntime.cs
- XmlTextReaderImplHelpers.cs
- CompiledELinqQueryState.cs
- ScrollPattern.cs
- ApplicationSecurityInfo.cs
- AutomationElementCollection.cs
- TextAnchor.cs
- ActivitySurrogate.cs
- PackageDigitalSignatureManager.cs
- PointValueSerializer.cs
- NTAccount.cs
- PageHandlerFactory.cs
- LongAverageAggregationOperator.cs
- DistributedTransactionPermission.cs
- TransformerTypeCollection.cs
- TextComposition.cs
- GiveFeedbackEvent.cs
- StrongNameKeyPair.cs
- UnSafeCharBuffer.cs
- AmbiguousMatchException.cs
- RegexNode.cs
- Calendar.cs
- InputScopeNameConverter.cs
- DoubleAnimationBase.cs
- TransactionTable.cs
- CollaborationHelperFunctions.cs
- PrePrepareMethodAttribute.cs
- DetailsViewRowCollection.cs
- PageThemeBuildProvider.cs
- XmlSequenceWriter.cs
- AppDomainProtocolHandler.cs
- UIInitializationException.cs
- SortDescriptionCollection.cs
- PersianCalendar.cs
- Choices.cs
- ColorTransform.cs
- InputReportEventArgs.cs
- RenameRuleObjectDialog.Designer.cs
- StylusEventArgs.cs
- InvalidOleVariantTypeException.cs
- ExpressionEditorAttribute.cs
- WindowsScroll.cs
- EncoderExceptionFallback.cs
- Page.cs
- TransactedBatchContext.cs
- Style.cs
- MetadataSet.cs
- SystemDiagnosticsSection.cs
- DataTableClearEvent.cs
- MultiBindingExpression.cs
- ToolStripButton.cs
- XamlSerializer.cs
- ObjectContextServiceProvider.cs
- StorageTypeMapping.cs
- TableLayoutRowStyleCollection.cs
- _ServiceNameStore.cs
- EmptyStringExpandableObjectConverter.cs
- XmlUtil.cs
- TrustManagerMoreInformation.cs
- XmlSchemaElement.cs
- VisualCollection.cs
- LinqDataSourceInsertEventArgs.cs
- UInt32.cs
- Point3DCollection.cs
- DatagridviewDisplayedBandsData.cs
- FontWeights.cs
- TemplateField.cs
- Parameter.cs
- LayoutUtils.cs
- ContentFilePart.cs
- Win32NamedPipes.cs
- RoleManagerModule.cs
- SpellerHighlightLayer.cs
- GetPolicyDetailsRequest.cs
- TimersDescriptionAttribute.cs
- ReaderWriterLockWrapper.cs
- WebColorConverter.cs
- ImmComposition.cs
- TagPrefixCollection.cs
- TextRange.cs
- EntityDesignPluralizationHandler.cs