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
- InvalidAsynchronousStateException.cs
- TypeConverterBase.cs
- DropDownList.cs
- HMACSHA512.cs
- ModifierKeysValueSerializer.cs
- PKCS1MaskGenerationMethod.cs
- DeclarativeCatalogPartDesigner.cs
- DelayedRegex.cs
- FieldAccessException.cs
- ProfileInfo.cs
- MessagingDescriptionAttribute.cs
- LongTypeConverter.cs
- OleDbErrorCollection.cs
- BuildResult.cs
- TextReader.cs
- ListViewDeleteEventArgs.cs
- BamlStream.cs
- BindingCollection.cs
- HttpApplicationFactory.cs
- ReflectionPermission.cs
- SerializableAttribute.cs
- DataGridViewBand.cs
- ContentPlaceHolderDesigner.cs
- ToolStripContainerActionList.cs
- HttpDictionary.cs
- BitmapEffectState.cs
- MachineKeyConverter.cs
- KeyConverter.cs
- TypeConverterHelper.cs
- ObjectConverter.cs
- DataComponentNameHandler.cs
- EventMappingSettingsCollection.cs
- XmlPropertyBag.cs
- InstalledFontCollection.cs
- ReflectEventDescriptor.cs
- XamlClipboardData.cs
- HtmlTableRow.cs
- HttpCacheParams.cs
- EditingCommands.cs
- WindowsToolbar.cs
- Types.cs
- COMException.cs
- GradientBrush.cs
- MetadataUtilsSmi.cs
- ListBindableAttribute.cs
- ProviderBase.cs
- _ProxyChain.cs
- IntSecurity.cs
- bidPrivateBase.cs
- AssemblyBuilderData.cs
- EdmError.cs
- DataGridViewAccessibleObject.cs
- _Events.cs
- FilePrompt.cs
- NamespaceTable.cs
- TypeBrowserDialog.cs
- X509Certificate2Collection.cs
- TextEndOfSegment.cs
- WebConfigurationHost.cs
- ObjectListGeneralPage.cs
- InProcStateClientManager.cs
- SmiTypedGetterSetter.cs
- BamlCollectionHolder.cs
- PolicyLevel.cs
- AVElementHelper.cs
- KeyGestureValueSerializer.cs
- DataGridViewCellStyleConverter.cs
- WindowsScrollBar.cs
- LineGeometry.cs
- CollectionChangedEventManager.cs
- XPathDocumentBuilder.cs
- XmlConvert.cs
- AttributeCollection.cs
- InsufficientMemoryException.cs
- Triangle.cs
- EditingCommands.cs
- ValueType.cs
- XNodeValidator.cs
- UpnEndpointIdentityExtension.cs
- ConnectionStringsExpressionBuilder.cs
- RemotingServices.cs
- ActivationArguments.cs
- CTreeGenerator.cs
- OdbcDataReader.cs
- EditingCoordinator.cs
- ResolvedKeyFrameEntry.cs
- X509WindowsSecurityToken.cs
- DataTableClearEvent.cs
- StringTraceRecord.cs
- FocusChangedEventArgs.cs
- EnlistmentTraceIdentifier.cs
- AnnotationComponentChooser.cs
- PropertiesTab.cs
- DbProviderFactories.cs
- DataKeyCollection.cs
- InvalidProgramException.cs
- FramingFormat.cs
- StatementContext.cs
- DelimitedListTraceListener.cs
- NativeMethods.cs