Skip to content

Commit 3e3fade

Browse files
authored
public repo edit
1 parent a2e6177 commit 3e3fade

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/stream-analytics/stream-analytics-edge-csharp-udf-methods.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Expand the **User-Defined Code Configuration** section, and fill out the configu
137137
|Custom Code Assembly Source|UserCustomCode.zip|
138138

139139
## User logging
140-
The logging mechanism allows you to capture custom information while a job is running. You can use log data to debug or assess the correctness of the custom code in real-time.
140+
The logging mechanism allows you to capture custom information while a job is running. You can use log data to debug or assess the correctness of the custom code in real time.
141141

142142
The `StreamingContext` class lets you publish diagnostic information using the `StreamingDiagnostics.WriteError` function. The code below shows the interface exposed by Azure Stream Analytics.
143143

@@ -165,7 +165,7 @@ public static long MyUdfMethod(long data, StreamingContext context)
165165
}
166166
```
167167

168-
The `StreamingContext` value doesn't need to be passed in by the SQL query. Azure Stream Analytics provides a context object automatically if an input parameter is present. The use of the `MyUdfMethod` does not change as shown in the query below.
168+
The `StreamingContext` value doesn't need to be passed in by the SQL query. Azure Stream Analytics provides a context object automatically if an input parameter is present. The use of the `MyUdfMethod` does not change, as shown in the following query:
169169

170170
```sql
171171
SELECT udf.MyUdfMethod(input.value) as udfValue FROM input

0 commit comments

Comments
 (0)