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
- DefinitionUpdate.cs
- BindingsCollection.cs
- VirtualizingPanel.cs
- RegisteredArrayDeclaration.cs
- ImageMap.cs
- DefaultValueAttribute.cs
- MissingMethodException.cs
- AssemblyInfo.cs
- DiscoveryDocumentReference.cs
- COM2IDispatchConverter.cs
- InheritablePropertyChangeInfo.cs
- DataGridViewCell.cs
- HostSecurityManager.cs
- LogicalMethodInfo.cs
- Avt.cs
- FormViewUpdatedEventArgs.cs
- XmlLanguage.cs
- DataListDesigner.cs
- sqlnorm.cs
- Point3DAnimationUsingKeyFrames.cs
- EditCommandColumn.cs
- SerializationTrace.cs
- MailAddress.cs
- XmlNamespaceDeclarationsAttribute.cs
- _LocalDataStore.cs
- SerializerProvider.cs
- UriTemplateDispatchFormatter.cs
- FaultDescription.cs
- SecurityPermission.cs
- GridViewColumnCollectionChangedEventArgs.cs
- XmlSchemaValidationException.cs
- SqlBuilder.cs
- DatatypeImplementation.cs
- Tag.cs
- TokenBasedSetEnumerator.cs
- XmlBinaryReader.cs
- ImageFormatConverter.cs
- WebBrowserContainer.cs
- KerberosRequestorSecurityToken.cs
- WebEventTraceProvider.cs
- RegionData.cs
- _StreamFramer.cs
- AuthenticationService.cs
- TableRowGroup.cs
- HostingEnvironment.cs
- TextControl.cs
- RewritingProcessor.cs
- ExportOptions.cs
- GridViewPageEventArgs.cs
- DataBindingHandlerAttribute.cs
- Perspective.cs
- XamlStyleSerializer.cs
- COM2EnumConverter.cs
- PrtTicket_Public.cs
- FloatUtil.cs
- TrackBar.cs
- UnsafeNativeMethods.cs
- CompModHelpers.cs
- AppDomainFactory.cs
- TableRow.cs
- CompilerResults.cs
- IFlowDocumentViewer.cs
- StringExpressionSet.cs
- DefaultProxySection.cs
- ProtocolElementCollection.cs
- IDispatchConstantAttribute.cs
- WizardSideBarListControlItem.cs
- SafeFileMapViewHandle.cs
- XmlSchemaGroup.cs
- GroupStyle.cs
- WriterOutput.cs
- CodeMemberProperty.cs
- TextTreeTextElementNode.cs
- SpeechRecognitionEngine.cs
- TreeIterators.cs
- SecurityToken.cs
- SmiEventStream.cs
- WebPartVerb.cs
- CollectionsUtil.cs
- VersionedStream.cs
- DataServiceQuery.cs
- SqlClientPermission.cs
- PermissionAttributes.cs
- HandlerFactoryCache.cs
- CellTreeNode.cs
- BamlLocalizationDictionary.cs
- XmlMapping.cs
- URLIdentityPermission.cs
- ResXResourceSet.cs
- ArrangedElement.cs
- DomainUpDown.cs
- MultipleViewProviderWrapper.cs
- XmlAttributeOverrides.cs
- GridViewCellAutomationPeer.cs
- InvokeBinder.cs
- ClientApiGenerator.cs
- SecondaryViewProvider.cs
- OleDbConnection.cs
- PropertyInformationCollection.cs
- NativeMethods.cs