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
- TileBrush.cs
- RuleInfoComparer.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- ModelPropertyImpl.cs
- altserialization.cs
- SoapParser.cs
- StylusTouchDevice.cs
- StringDictionaryEditor.cs
- AsyncOperation.cs
- ButtonFieldBase.cs
- HTMLTextWriter.cs
- TextViewElement.cs
- VisualBrush.cs
- SoapProtocolImporter.cs
- EntityDesignerBuildProvider.cs
- UnsafeNetInfoNativeMethods.cs
- Module.cs
- WindowsSpinner.cs
- Variant.cs
- returneventsaver.cs
- TreeNode.cs
- WeakReferenceList.cs
- NumericUpDown.cs
- WCFBuildProvider.cs
- RawKeyboardInputReport.cs
- ResponseBodyWriter.cs
- IOException.cs
- UserValidatedEventArgs.cs
- BitmapDecoder.cs
- FlowDocument.cs
- ContractInstanceProvider.cs
- RegistrySecurity.cs
- HttpRequestContext.cs
- ComponentResourceKey.cs
- PassportAuthentication.cs
- CustomAttribute.cs
- ReadOnlyCollection.cs
- WebPartEditorOkVerb.cs
- UserControlAutomationPeer.cs
- DaylightTime.cs
- ComponentEvent.cs
- LinqDataSourceHelper.cs
- SimpleApplicationHost.cs
- BaseDataList.cs
- CellTreeNodeVisitors.cs
- WhereQueryOperator.cs
- ImageButton.cs
- LayoutTable.cs
- DeclarativeCatalogPart.cs
- ObjectStorage.cs
- Config.cs
- EFTableProvider.cs
- ThreadSafeList.cs
- PartialCachingControl.cs
- GuidelineCollection.cs
- Label.cs
- namescope.cs
- AuthenticationConfig.cs
- WinInet.cs
- smtppermission.cs
- PageStatePersister.cs
- BindingSource.cs
- UpdateProgress.cs
- RIPEMD160Managed.cs
- SharedPersonalizationStateInfo.cs
- SpeakCompletedEventArgs.cs
- objectresult_tresulttype.cs
- XmlSchemaException.cs
- XmlTextReader.cs
- RevocationPoint.cs
- ServiceObjectContainer.cs
- AccessKeyManager.cs
- ExpressionLexer.cs
- ExtensionDataObject.cs
- MobileSysDescriptionAttribute.cs
- Point3DCollection.cs
- GridToolTip.cs
- XmlAttributes.cs
- HostedHttpRequestAsyncResult.cs
- COMException.cs
- CodeExpressionStatement.cs
- LoginNameDesigner.cs
- ArrayList.cs
- ProxyHelper.cs
- PerformanceCounterPermissionAttribute.cs
- XmlDataSourceView.cs
- RowVisual.cs
- BufferModeSettings.cs
- ServiceInstanceProvider.cs
- HuffModule.cs
- ServiceOperationListItem.cs
- Query.cs
- SQLSingle.cs
- UrlMappingCollection.cs
- IPEndPoint.cs
- SqlUnionizer.cs
- PersonalizationStateQuery.cs
- HostAdapter.cs
- ScopedKnownTypes.cs
- CheckStoreFileValidityRequest.cs