Skip to content

Commit a2e6177

Browse files
Update articles/stream-analytics/stream-analytics-edge-csharp-udf-methods.md
Co-authored-by: Mary McCready <[email protected]>
1 parent a006950 commit a2e6177

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,15 @@ The logging mechanism allows you to capture custom information while a job is ru
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

144144
```csharp
145-
public abstract class StreamingContext
146-
{
147-
public abstract StreamingDiagnostics Diagnostics { get; }
148-
}
149-
150-
public abstract class StreamingDiagnostics
151-
{
152-
public abstract void WriteError(string briefMessage, string detailedMessage);
153-
}
145+
public abstract class StreamingContext
146+
{
147+
public abstract StreamingDiagnostics Diagnostics { get; }
148+
}
149+
150+
public abstract class StreamingDiagnostics
151+
{
152+
public abstract void WriteError(string briefMessage, string detailedMessage);
153+
}
154154
```
155155

156156
`StreamingContext` is passed as an input parameter to the UDF method and can be used within the UDF to publish custom log information. In the example below, `MyUdfMethod` defines a **data** input, which is provided by the query, and a **context** input as the `StreamingContext`, provided by the runtime engine.

0 commit comments

Comments
 (0)