2 writes to record
System.ServiceModel.Activation (2)
System\ServiceModel\Activation\MetabaseReader.cs (2)
124
uint hResult = adminBase.GetData((uint)mdHandle, path, ref
record
, ref bytes);
128
hResult = adminBase.GetData((uint)mdHandle, path, ref
record
, ref bytes);
24 references to record
System.ServiceModel.Activation (24)
System\ServiceModel\Activation\MetabaseReader.cs (24)
109
record
.pbMDData = bufferHandle.DangerousGetHandle();
110
record
.dwMDDataLen = currentBufferSize;
117
record
.dwMDAttributes = MSAdminBase.METADATA_INHERIT;
118
record
.dwMDUserType = MSAdminBase.IIS_MD_UT_SERVER;
119
record
.dwMDDataType = MSAdminBase.ALL_METADATA;
120
record
.dwMDIdentifier = type;
121
record
.pbMDData = bufferHandle.DangerousGetHandle();
122
record
.dwMDDataLen = currentBufferSize;
146
switch (
record
.dwMDDataType)
149
return (UInt32)Marshal.ReadInt32(
record
.pbMDData);
152
return Marshal.PtrToStringUni(
record
.pbMDData);
158
record
.dwMDDataType.ToString(NumberFormatInfo.CurrentInfo),
159
record
.dwMDIdentifier.ToString(NumberFormatInfo.CurrentInfo))));
167
if (
record
.dwMDDataType == MSAdminBase.MULTISZ_METADATA)
170
if ((
record
.dwMDDataLen & 1) != 0)
173
SR.Hosting_MetabaseDataStringsTerminate(
record
.dwMDIdentifier.ToString(NumberFormatInfo.CurrentInfo))));
178
while (
record
.dwMDDataLen > 0)
181
while (endPos <
record
.dwMDDataLen && Marshal.ReadInt16(
record
.pbMDData, endPos) != 0)
186
if (endPos ==
record
.dwMDDataLen &&
187
Marshal.ReadInt16(
record
.pbMDData, endPos - 2) != 0)
190
SR.Hosting_MetabaseDataStringsTerminate(
record
.dwMDIdentifier.ToString(NumberFormatInfo.CurrentInfo))));
200
list.Add(Marshal.PtrToStringUni(new IntPtr(
record
.pbMDData.ToInt64() + startPos),
218
record
.pbMDData = IntPtr.Zero;