Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- RemotingServices.cs
- CollectionMarkupSerializer.cs
- _ServiceNameStore.cs
- Registry.cs
- MouseBinding.cs
- ContextItem.cs
- Predicate.cs
- ScalarOps.cs
- DoubleAnimationUsingPath.cs
- WindowsSpinner.cs
- AssemblyEvidenceFactory.cs
- HandledEventArgs.cs
- DataControlFieldCollection.cs
- counter.cs
- XmlDeclaration.cs
- SqlNode.cs
- _RequestCacheProtocol.cs
- MultitargetUtil.cs
- MultiAsyncResult.cs
- TimeoutHelper.cs
- CredentialCache.cs
- DbConnectionInternal.cs
- BlobPersonalizationState.cs
- ChangePassword.cs
- UniqueSet.cs
- DllNotFoundException.cs
- OleDbCommandBuilder.cs
- ToolStripItemImageRenderEventArgs.cs
- Message.cs
- InvalidOperationException.cs
- VectorCollectionValueSerializer.cs
- IndependentAnimationStorage.cs
- DeclarationUpdate.cs
- RetrieveVirtualItemEventArgs.cs
- SchemaManager.cs
- ProcessManager.cs
- DataObjectEventArgs.cs
- WebEventCodes.cs
- CompoundFileDeflateTransform.cs
- ZoneButton.cs
- CodePageUtils.cs
- SocketCache.cs
- ContextMenuService.cs
- PointCollection.cs
- TableItemPatternIdentifiers.cs
- base64Transforms.cs
- FreezableOperations.cs
- GetWorkflowTree.cs
- propertyentry.cs
- ObjectListComponentEditor.cs
- AttributeProviderAttribute.cs
- COM2ExtendedUITypeEditor.cs
- LayoutSettings.cs
- DateTimeFormatInfo.cs
- StrongNameUtility.cs
- ExpandSegment.cs
- StateElement.cs
- ProxyFragment.cs
- BitmapMetadataEnumerator.cs
- ParseNumbers.cs
- CellTreeNodeVisitors.cs
- TiffBitmapDecoder.cs
- Convert.cs
- TraceSwitch.cs
- HttpRuntimeSection.cs
- Point3DAnimationUsingKeyFrames.cs
- SyndicationSerializer.cs
- PartBasedPackageProperties.cs
- InOutArgumentConverter.cs
- SqlGatherConsumedAliases.cs
- XamlSerializationHelper.cs
- DockAndAnchorLayout.cs
- RandomNumberGenerator.cs
- MemoryRecordBuffer.cs
- Classification.cs
- ResourcePool.cs
- DataConnectionHelper.cs
- DataGridViewCellStyleChangedEventArgs.cs
- DbConnectionPoolGroup.cs
- querybuilder.cs
- Matrix.cs
- nulltextcontainer.cs
- DefaultMemberAttribute.cs
- LocalClientSecuritySettingsElement.cs
- XmlSchemaProviderAttribute.cs
- WebSysDefaultValueAttribute.cs
- NameValuePair.cs
- TypedDatasetGenerator.cs
- ListViewCancelEventArgs.cs
- ContentFileHelper.cs
- SpeakCompletedEventArgs.cs
- RegexEditorDialog.cs
- Constraint.cs
- ChangePassword.cs
- dataobject.cs
- ReadOnlyDataSourceView.cs
- SpellerHighlightLayer.cs
- MetadataUtilsSmi.cs
- Stack.cs
- IssuedTokensHeader.cs