Skip to content

Commit d5f1c92

Browse files
committed
PR feedback fixes
1 parent c689456 commit d5f1c92

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

support/developer/dotnet/framework/general/comexception-weakreference-object.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ HResult: 80004005
6565

6666
## Solution
6767

68-
To work around this issue, don't retrieve a pointer to the `WeakReference<T>.Create` method. This method is private to the `WeakReference<T>` class. Therefore, invoking this method might cause undefined behavior even if you get a pointer to the function.
68+
To work around this issue, don't retrieve a pointer to the `WeakReference<T>.Create` method. This is a private method of the `WeakReference<T>` class. Therefore, invoking this method might cause undefined behavior even if you get a pointer to the function.

support/developer/dotnet/framework/general/timeout-when-application-calls-poll-method.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ _Applies to:_ .NET Core
1616

1717
## Symptoms
1818

19-
A time-out occurs when you run an application that's using the `System.Net.Security.SslStream` class and that calls the `System.Net.Socket.Poll` method to check data on the underlying socket. When this issue occurs, the `Poll` method returns false.
19+
A time-out occurs when you run an application that's using the `System.Net.Security.SslStream` class and that calls the `System.Net.Socket.Poll` method to check data on the underlying socket. When this issue occurs, the `Poll` method returns a value of false.
2020

2121
## Cause
2222

@@ -27,4 +27,4 @@ The `SslStream` class is reading data from the socket faster than the applicatio
2727
To work around this issue, use one of the following methods:
2828

2929
- Don't use the `Poll` method in the application. Instead, use the [Asynchronous Programming Model (APM)](/dotnet/standard/asynchronous-programming-patterns/asynchronous-programming-model-apm) pattern to get callbacks when data arrives.
30-
- If you must use the `Poll` method, when the method returns true, make sure that all the stream buffer data was read before you enter another `Poll` call.
30+
- If you must use the `Poll` method, when the method returns a value of true, make sure that all the stream buffer data was read before you enter another `Poll` call.

0 commit comments

Comments
 (0)