Code:
/ 4.0 / 4.0 / untmp / 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. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- InternalConfigSettingsFactory.cs
- TypeDependencyAttribute.cs
- ColumnMapVisitor.cs
- ParallelEnumerable.cs
- ContainerParaClient.cs
- ClientBuildManager.cs
- Animatable.cs
- Win32Native.cs
- WrappedOptions.cs
- SymbolPair.cs
- ShapeTypeface.cs
- ZipIOLocalFileHeader.cs
- VisualBrush.cs
- CodeAccessPermission.cs
- Configuration.cs
- BuildManager.cs
- DynamicQueryableWrapper.cs
- DockingAttribute.cs
- mactripleDES.cs
- CompositionAdorner.cs
- Select.cs
- FastEncoderWindow.cs
- CustomTrackingRecord.cs
- CompositeFontFamily.cs
- WizardPanelChangingEventArgs.cs
- FileIOPermission.cs
- UserPreferenceChangedEventArgs.cs
- MonikerHelper.cs
- ContractAdapter.cs
- CqlErrorHelper.cs
- AdPostCacheSubstitution.cs
- AssemblyResolver.cs
- DynamicDocumentPaginator.cs
- EventBuilder.cs
- FlowLayout.cs
- RepeaterCommandEventArgs.cs
- XmlQueryTypeFactory.cs
- FrameSecurityDescriptor.cs
- FieldBuilder.cs
- RequestCacheValidator.cs
- FileUpload.cs
- ISO2022Encoding.cs
- UrlPropertyAttribute.cs
- CompiledScopeCriteria.cs
- ZipIOBlockManager.cs
- XmlDataSourceNodeDescriptor.cs
- InfocardChannelParameter.cs
- MouseButton.cs
- HtmlWindowCollection.cs
- MatrixStack.cs
- CallbackTimeoutsElement.cs
- CreateWorkflowOwnerCommand.cs
- NameObjectCollectionBase.cs
- PublisherMembershipCondition.cs
- HashAlgorithm.cs
- HttpModulesSection.cs
- TextEditorContextMenu.cs
- SafeSecurityHelper.cs
- AttributeData.cs
- Tuple.cs
- _SingleItemRequestCache.cs
- IndentedTextWriter.cs
- ValuePattern.cs
- TraceContext.cs
- NamespaceInfo.cs
- ConcurrencyBehavior.cs
- AnonymousIdentificationSection.cs
- SurrogateEncoder.cs
- ExpressionList.cs
- RestHandler.cs
- AgileSafeNativeMemoryHandle.cs
- ProfilePropertyNameValidator.cs
- log.cs
- SessionStateSection.cs
- TableHeaderCell.cs
- ChildTable.cs
- TypeSystem.cs
- Table.cs
- EncryptedData.cs
- TextRenderer.cs
- EditorZone.cs
- GlobalProxySelection.cs
- OleDbPermission.cs
- OracleDateTime.cs
- ComplexBindingPropertiesAttribute.cs
- IRCollection.cs
- KnownTypes.cs
- ParameterSubsegment.cs
- FormViewDesigner.cs
- DataGridLinkButton.cs
- Stylesheet.cs
- XmlRawWriter.cs
- CaseInsensitiveComparer.cs
- BitmapCache.cs
- MessageAction.cs
- MarshalByValueComponent.cs
- CancellationState.cs
- CommonDialog.cs
- NamespaceMapping.cs
- ReadOnlyDataSource.cs