IVsWCFReferenceGroup.SetExtensionData Method
Sets the extension data for a Windows Communication Foundation (WCF) service reference.
Namespace: Microsoft.VisualStudio.WCFReference.Interop
Assembly: Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)
Syntax
'Declaration
Sub SetExtensionData ( _
name As String, _
content As Byte() _
)
void SetExtensionData(
string name,
byte[] content
)
void SetExtensionData(
[InAttribute] String^ name,
[InAttribute] array<unsigned char>^ content
)
abstract SetExtensionData :
name:string *
content:byte[] -> unit
function SetExtensionData(
name : String,
content : byte[]
)
Parameters
- name
Type: System.String
A String that contains the file name.
- content
Type: array<System.Byte[]
A Byte array that contains the extension data.
Remarks
Extension data lets you associate additional properties with a reference group as name/value pairs. The information is stored in a separate file and added to the Extensions element in the .svcmap file.
The name parameter should be a valid file name (without a path). The binary data is transparent to the reference group.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.