Class TechnologyLimitation.Builder
Create TechnologyLimitation instances with a fluent API.
public sealed class TechnologyLimitation.Builder
- Inheritance
-
TechnologyLimitation.Builder
- Inherited Members
Methods
Create()
Creates a new TechnologyLimitation instance using the currently set meta-information.
public TechnologyLimitation Create()
Returns
- TechnologyLimitation
TechnologyLimitation.
LogToReport(LogToReportOption)
Sets whether this technology limitation should be logged to the Report.
public TechnologyLimitation.Builder LogToReport(TechnologyLimitation.LogToReportOption logToReport)
Parameters
logToReportTechnologyLimitation.LogToReportOptionA value determining whether to log the limitation to the report.
Returns
- TechnologyLimitation.Builder
A new Builder instance using the new setting.
Remarks
Default value: TechnologyLimitation.LogToReportOption.Once
ProcessInfo(string, int?)
Sets name and process id of the process causing the limitation warning.
public TechnologyLimitation.Builder ProcessInfo(string name, int? pid)
Parameters
Returns
- TechnologyLimitation.Builder
A new Builder instance using the new setting.
WizardInfo(string, IDictionary<string, string>)
Attach information for use by the instrumentation wizard.
public TechnologyLimitation.Builder WizardInfo(string pageName, IDictionary<string, string> properties)
Parameters
pageNamestringThe name of the wizard page to use. Set to null if no wizard page is available.
propertiesIDictionary<string, string>Properties to pass to the wizard page.
Returns
- TechnologyLimitation.Builder
A new Builder instance using the new setting.