dotnet / dotnet/dotnet-api-docs

Refers to an options parameter but does not define

Open
#1,670 4 comments 0 reactions 0 assignees View on GitHub
area-System.Data doc-enhancement dotnet-api/prod Pri2 waiting-on-feedback
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

One of the constructors refers to an 'options' parameter of type string, but there is no reference to what options are available or where to reference them.

In some cases the following exception is returned if an option is not specified: "When using SqlDependency without providing an options value, SqlDependency.Start() must be called prior to execution of a command added to the SqlDependency instance.'"

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 2463bf3e-29d2-edcb-4954-2b962eb92564
* Version Independent ID: a10d03d9-649d-703b-7d28-e1f20e3f099b
* Content: [SqlDependency Constructor (System.Data.SqlClient)](https://docs.microsoft.com/en-us/dotnet/api/system.data.sqlclient.sqldependency.-ctor?view=netframework-4.7.2)
* Content Source: [xml/System.Data.SqlClient/SqlDependency.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Data.SqlClient/SqlDependency.xml)
* Product: **dotnet-api**
* GitHub Login: @douglaslMS
* Microsoft Alias: **douglasl**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.