Skip to content

Commit c507c43

Browse files
Offline ComWrappers Tutorial feedback
1 parent ada311c commit c507c43

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

xml/System.Runtime.InteropServices/ComWrappers.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,15 @@ If the object cannot be created and `null` is returned, the call to <xref:System
203203
<param name="fpAddRef">Function pointer to AddRef.</param>
204204
<param name="fpRelease">Function pointer to Release.</param>
205205
<summary>Gets the runtime-provided IUnknown implementation.</summary>
206-
<remarks>To be added.</remarks>
206+
<remarks>
207+
<format type="text/markdown"><![CDATA[
208+
209+
## Remarks
210+
211+
The runtime implementations of these `IUnknown` functions are all thread-safe. Each of them is optimized and strictly follows the COM rules for `IUnknown`. The `QueryInterface` implementation also respects the <xref:System.Runtime.InteropServices.ICustomQueryInterface> interface. The `ICustomQueryInterface` interface will never have an opportunity to override interfaces that the runtime provides. For example, by default the runtime provides the `IUnknown` interface and, optionally, the Reference Tracker `IReferenceTrackerTarget` interface.
212+
213+
]]></format>
214+
</remarks>
207215
</Docs>
208216
</Member>
209217
<Member MemberName="GetOrCreateComInterfaceForObject">

0 commit comments

Comments
 (0)