Skip to content

Commit fd0269f

Browse files
authored
Fix incorrect "then" usage (#44953)
1 parent 2765a85 commit fd0269f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

docs/framework/tools/ngen-exe-native-image-generator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ You can use the [jitCompilationStart](../debug-trace-profile/jitcompilationstart
402402

403403
### Opting out of native image generation
404404

405-
In some cases, NGen.exe may have difficulty generating a native image for a specific method, or you may prefer that the method be JIT compiled rather then compiled to a native image. In this case, you can use the `System.Runtime.BypassNGenAttribute` attribute to prevent NGen.exe from generating a native image for a particular method. The attribute must be applied individually to each method whose code you do not want to include in the native image. NGen.exe recognizes the attribute and does not generate code in the native image for the corresponding method.
405+
In some cases, NGen.exe may have difficulty generating a native image for a specific method, or you may prefer that the method be JIT compiled rather than compiled to a native image. In this case, you can use the `System.Runtime.BypassNGenAttribute` attribute to prevent NGen.exe from generating a native image for a particular method. The attribute must be applied individually to each method whose code you do not want to include in the native image. NGen.exe recognizes the attribute and does not generate code in the native image for the corresponding method.
406406

407407
Note, however, that `BypassNGenAttribute` is not defined as a type in the .NET Framework Class Library. In order to consume the attribute in your code, you must first define it as follows:
408408

docs/framework/wcf/feature-details/messaging-protocols.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
---
2-
description: "Learn more about: Messaging Protocols"
32
title: "Messaging Protocols"
3+
description: "Learn more about: Messaging Protocols"
44
ms.date: "03/30/2017"
5-
ms.assetid: 5b20bca7-87b3-4c8f-811b-f215b5987104
65
---
76
# Messaging Protocols
87

@@ -635,7 +634,7 @@ Content-Type: application/octet-stream
635634

636635
#### WCF Secure SOAP 1.2 Message Encoded Using MTOM
637636

638-
In this example, a message is encoded using MTOM and SOAP 1.2 that is protected using WS-Security. The binary parts identified for encoding are the contents of the `BinarySecurityToken`, `CipherValue` of the `EncryptedData` corresponding to the encrypted signature and encrypted body. Note that the `CipherValue` of the `EncryptedKey` was not identified for optimization by WCF, because its length is less then 1024 bytes.
637+
In this example, a message is encoded using MTOM and SOAP 1.2 that is protected using WS-Security. The binary parts identified for encoding are the contents of the `BinarySecurityToken`, `CipherValue` of the `EncryptedData` corresponding to the encrypted signature and encrypted body. Note that the `CipherValue` of the `EncryptedKey` was not identified for optimization by WCF, because its length is less than 1024 bytes.
639638

640639
```http
641640
POST http://131.107.72.15/Mtom/service.svc/Soap12MtomSecureSignEncrypt HTTP/1.1

0 commit comments

Comments
 (0)