Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeCatchClause.cs / 1305376 / CodeCatchClause.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- MouseOverProperty.cs
- SessionStateSection.cs
- CodeIdentifiers.cs
- SoundPlayer.cs
- TypeConverterAttribute.cs
- SamlSerializer.cs
- SpecialTypeDataContract.cs
- DataMisalignedException.cs
- CompiledRegexRunnerFactory.cs
- HttpClientCertificate.cs
- ClientConfigurationHost.cs
- CompModSwitches.cs
- BehaviorEditorPart.cs
- TitleStyle.cs
- ProcessInfo.cs
- RelatedView.cs
- JsonGlobals.cs
- KnownIds.cs
- XmlArrayAttribute.cs
- InstanceDataCollection.cs
- WorkItem.cs
- PhysicalOps.cs
- FixedPosition.cs
- TransactionBridge.cs
- MainMenu.cs
- HintTextMaxWidthConverter.cs
- TypeDependencyAttribute.cs
- XsltArgumentList.cs
- CloudCollection.cs
- ComAdminInterfaces.cs
- SoapWriter.cs
- MenuItem.cs
- __Filters.cs
- CommandDevice.cs
- HuffCodec.cs
- Color.cs
- BindingGroup.cs
- NativeMethods.cs
- LayoutEditorPart.cs
- XpsSerializerFactory.cs
- TypedRowHandler.cs
- MsmqInputChannel.cs
- RegistryExceptionHelper.cs
- CollectionViewProxy.cs
- OutputCacheProviderCollection.cs
- ImageAnimator.cs
- ParameterCollection.cs
- SimpleFieldTemplateFactory.cs
- CompositeActivityMarkupSerializer.cs
- RegexEditorDialog.cs
- ThreadAbortException.cs
- MailMessageEventArgs.cs
- MgmtConfigurationRecord.cs
- ValueType.cs
- ImageCollectionEditor.cs
- TripleDES.cs
- EventLogPermissionEntry.cs
- WizardStepBase.cs
- UrlMapping.cs
- WindowHideOrCloseTracker.cs
- JsonDeserializer.cs
- documentation.cs
- XmlNodeChangedEventManager.cs
- NativeMethods.cs
- RequestCachingSection.cs
- sqlpipe.cs
- SerializableAttribute.cs
- MouseGestureConverter.cs
- PrintControllerWithStatusDialog.cs
- CroppedBitmap.cs
- HeaderUtility.cs
- CatalogPartCollection.cs
- Converter.cs
- MatrixTransform.cs
- Condition.cs
- GacUtil.cs
- RoleGroupCollection.cs
- EllipticalNodeOperations.cs
- ApplicationServiceHelper.cs
- Int16AnimationUsingKeyFrames.cs
- SettingsAttributes.cs
- DataBindingCollection.cs
- BookmarkEventArgs.cs
- QueryOperationResponseOfT.cs
- ExpandSegmentCollection.cs
- SafeRegistryHandle.cs
- TextClipboardData.cs
- PartialArray.cs
- TraceSection.cs
- SqlRecordBuffer.cs
- Registry.cs
- GridSplitterAutomationPeer.cs
- SingleResultAttribute.cs
- TcpStreams.cs
- PermissionSetEnumerator.cs
- XslVisitor.cs
- MatrixKeyFrameCollection.cs
- CatalogPart.cs
- ImageFormat.cs
- SerializationInfo.cs